using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Assignment2 { class Program { static void Main(string[] args) {
You are converting a to an int but your switch statement is matching it to strings. Change it to case 1: instead of case "1" to fix the issues.
a
case 1:
case "1"