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