public string getRef(Player p) { var key = this.dictionary.FirstOrDefault(x => x.Value == p); return key.Key; }
public void Add(string key, Player val) { this.dictionary.Add(key, val); }