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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top