Last post Jan 23, 2017 06:49 AM by Eric Du
Jan 22, 2017 09:02 PM|tahahamzah|LINK
StringA = "1234567890ABCDEFNOPQR";
is there anyone can help me? or there is better way in C# to XOR two strings??
Thank you very much
Jan 23, 2017 06:49 AM|Eric Du|LINK
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：
About how to use XOR operator with different length strings, you could choose to use completion string with zero or use loop method etc.
1. check two strings length.
2. add zero or loop:
a="00123" or a="12312"
3. then use XOR operator.