public SessionData(Session s) { SessionName = s.GetName().ToString(); SessionUserCount = s.GetUserCount().ToString(); SessionType = s.GetSessionType().ToString(); _users = new List<User>(); for (var i = 0; i < s.GetUserCount(); i++) { _users.Add(s.GetUser(i)); } UpdateUserNames(); }