using System.Collections.Generic;
public static void Main()
GetValue(1, out strValue);
Console.WriteLine(strValue);
public static void GetValue(int intKey, out string strOptionValue)
var optionList = new Dictionary<int, string>()
optionList.TryGetValue(intKey, out strOptionValue);