Exemple #1
0
 public bool removeChatRoom(ChatRoom chat)
 {
     //myUsers.Add(new User((short)myUsers.Count, name));
     if (m_ChatRooms.ContainsKey(chat.getName()))
     {
         m_ChatRooms.Remove(chat.getName());
         return(true);
     }
     else
     {
         return(false);
     }
 }