Double num, num1;
Console.WriteLine("Enter number!");
num = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Enter power!");// Ввидите степень
num1 = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Result is "+ Math.Pow(num, num1) );