public static void ChoseApplication(int AppNumber) { switch (AppNumber) { case APP01: ConsoleHelper.PrintString("Distance Converter", true); //Create an object DistanceConverter converter = new DistanceConverter(); converter.RunDistanceConverter(); break; case APP02: ConsoleHelper.PrintString("BMI Converter", true); ConsoleHelper.PrintString(bmi.GetDescription(), false); bmi.RunBmiConverter(); break; case APP03: ConsoleHelper.PrintString("Student Marks", true); StudentMarks students = new StudentMarks(); students.Run(); break; case APP04: SocialNetwork social = new SocialNetwork(); social.Run(); break; case APP05: default: break; } }