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