C# Main Function for Calling all classes
C# Main Function for Calling all classes void Main_Fun() { int num; Program obj = new Program(); Console.Clear(); Console.ForegroundColor = ConsoleColor.Green; Console.BackgroundColor = ConsoleColor.DarkCyan; Console.WriteLine("\n\t\t\t*****VISUAL PROGRAMMING*****"); Console.WriteLine("\n\t\t\t ****ASSIGNMENT # 1****\n\n"); Console.Write("\nIf Run Project (Y/N) ? "); obj.choice = Convert.ToChar(Console.ReadLine()); if (obj.choice != 'Y' && obj.choice != 'y') { Console.WriteLine("\nSee you Next Time"); } else { Console.Write("\nEnter the Question No. : "); num = Convert.ToInt32(Console.ReadLine()); switch (num) { case 1: ...