Reverse C# String using Recursive function

A recursive function is a function which calls itself to work on the smaller function. This program reverses a string using a recursive function. 
 
  1. class Program  
  2.     {  
  3.         static void Main(string[] args)  
  4.         {  
  5.             Program p = new Program();  
  6.             p.Fun();  
  7.             Console.WriteLine("\n");  
  8.             Console.ReadLine();  
  9.   
  10.         }  
  11.         public void Fun()  
  12.         {  
  13.             char c;  
  14.             if ((c = Convert.ToChar(Console.Read())) != '\n')  
  15.                 Fun();  
  16.             Console.Write(c);  
  17.         }  
  18.     }  
  19. }  
 
Hope you find this helpful.