Obviously starting out in the language. I just don’t get why this method even exist? Thanks

^ means xor.
Theres no exponential function in C#?
If you are speaking of the operator ^ it does not do exponentiation, instead it is the XOR operator (unless your type has a special overload).
If you are speaking of Math.Pow vs Math.Sqrt the latter is definitely more descriptive
TY!
Sqrt is sometimes faster but almost always more accurate.
Wow i got lots to learn
I started this class in august but didnt go to any class, i got to turn a semester project in 2 weeks (12 days to be exact). Think its hopeless?
I think Math.Sqrt(X) is faster than Math.Pow(X, 0.5). I may be wrong.
Well, you can’t do X ^ 0.5.
C# devs
null reference exceptions

source