[c#] How do I calculate power-of in C#?