public static void Main()
Console.WriteLine("Enter Number : ");
num = int.Parse(Console.ReadLine());
Console.WriteLine("Enter Exponent : ");
exp = int.Parse(Console.ReadLine());
Console.Write("Power of {0} tpo {1} is : {2} ",num,exp,pow);
public static int FindPow( int a, int b)
return a * FindPow( a, b - 1 );