public static bool CheckWord(string word, string groupsId) { if (!GroupAndWord.ContainsKey(groupsId)) { return(false); } return(GroupAndWord[groupsId] == word); }
public void ApplyWord(string groupId, string word) { GroupAndWord.Add(groupId, word); }