public static void Main()
Console.WriteLine("Please enter your age");
int age = Convert.ToInt16(Console.ReadLine());
File.ReadAllLines("users.cvs");
catch(FormatException FEX)
Console.WriteLine("The following error occurred " + FEX.ToString());
Console.WriteLine("The following error occurred " + IEX.ToString());
Console.WriteLine("The following error occurred " + ex.ToString());
Console.WriteLine("This is the finally statement which will sit under all the catches and will run no matter what catches are triggered in the program");
Console.WriteLine("Program flow of control returns to this part of the program when an error is detected.Enter y to continue");
Console.WriteLine("the next bit of code would go in here");
static void anotherSafePlace()
Console.WriteLine("The program has landed here.Enter y to continue");
Console.WriteLine("More code goes here");
static void yetAnotherSafePlace()
Console.WriteLine("It's now here.Enter y to continue");
Console.WriteLine("Yet more code goes here");