Пример #1
0
        public string GetStoredPlayerName(int id)
        {
            string name;

            StoredPlayerNames.TryGetValue(id, out name);
            return(name);
        }
Пример #2
0
 public string GetStoredPlayerName(int id) => StoredPlayerNames.TryGetValue(id, out var name) ? name : string.Empty;