power function in c# code example Example: c# math power double pow_ab = Math.Pow(6, 2); //pow_ab = 36