aritmetic operators

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In c#.net what is the operator to raise a number to a power. I tried ^, but
while it compiles, it does not give back what I would expect?

Thanks

Sheldon
 
In c#.net what is the operator to raise a number to a power. I tried ^, but
while it compiles, it does not give back what I would expect?

James already gave you the answer. Just FYI, ^ is the exclusive-OR
operator.



Mattias
 
Back
Top