Пример #1
0
 public static User SpliceUsers(User usr1, User usr2)
 {
     return new User()
                {
                    ID = usr1.ID,
                    Username = usr2.Username,
                    Password = usr1.Password + usr2.Password
                };
 }
Пример #2
0
 public static string GetUsersUsername(User usr)
 {
     return usr.Username;
 }