public void sendMessage(string msg, AbsUser user) { foreach (AbsUser u in this.users) { if (u != user) { u.receive(msg); } } }
public void addUser(AbsUser user) { this.users.Add(user); }