protected List<string> GetCommandList() { List<string> output = new List<string>(); output.Add("Available commands:"); int i = 1; foreach (string command in SubCommands.Keys) { output.Add(string.Format(" {0}. {1}", i++, command)); } return output; }