|
-
Nov 9th, 2005, 06:27 AM
#1
Thread Starter
Lively Member
XOR function
How do I use the XOR function in c#?
-
Nov 9th, 2005, 07:54 AM
#2
New Member
Re: XOR function
^ is the XOR operator in C#.
-
Nov 9th, 2005, 08:07 AM
#3
Thread Starter
Lively Member
Re: XOR function
Thank you.
But if ^ is xor, how do you do exponents?
-
Nov 9th, 2005, 08:22 AM
#4
-
Nov 9th, 2005, 09:05 AM
#5
New Member
Re: XOR function
 Originally Posted by deranged
Thank you.
But if ^ is xor, how do you do exponents?
Take a look at the Pow method .
System.Math.Pow(10,2) would be the same as 10^2 I guess...
-
Nov 10th, 2005, 09:56 AM
#6
Re: XOR function
Exponenents are not worth an operator. It is a function in most language/library combinations.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|