Click here to Skip to main content
15,891,907 members
Articles / Programming Languages / C#

The Magical Exclusive OR (XOR)

Rate me:
Please Sign up or sign in to vote.
3.56/5 (11 votes)
17 Aug 2011CPOL4 min read 31.5K   188   17  
XOR operation is magical and what can it do for you? It can switch the values of variable, back up and encrypt data.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Program Manager LEO Paper Group
China China
I'm a developer and now I managing a project in my company -LEO paper group of HongKong, China. I hope learn more knowledge in this project, I'll share what I get in it while the proejct complete. I'm living mainland China. send me a e-mail at kentbill@gmail.com for more communications.

Comments and Discussions