Click here to Skip to main content
15,896,912 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.6K   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.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApplication1", "WindowsFormsApplication1.csproj", "{70C8BE44-DE80-40B1-B8DF-0BA3C30EA5CA}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{70C8BE44-DE80-40B1-B8DF-0BA3C30EA5CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{70C8BE44-DE80-40B1-B8DF-0BA3C30EA5CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{70C8BE44-DE80-40B1-B8DF-0BA3C30EA5CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{70C8BE44-DE80-40B1-B8DF-0BA3C30EA5CA}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

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