string[] strN = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
int[] intN = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
List<SwitchClass> sc = new List<SwitchClass>();
for (int i = 0; i < strN.Length; i++)
{
sc.Add(new SwitchClass {WordNum = strN, IntNum = intN});
}
int gval = 7;
SwitchClass num = sc.FirstOrDefault(n => n.IntNum == gval);
MessageBox.Show(num != null ? num.WordNum : "Undefined/Nonexistant");