User-1838255255 posted
Hi tahahamzah,
According to your description, as far as I know, about how to use XOR operator, please refer to this link that contain a sample,
C# program that uses XOR operator:
https://www.dotnetperls.com/xor
About how to use XOR operator with different length strings, you could choose to use completion string with zero or use loop method etc.
Example:
string a="123";
string b="23456"
1. check two strings length.
2. add zero or loop:
a="00123" or a="12312"
3. then use XOR operator.
Best Regards,
Eric Du