public User(User u) { _UserName = u.UserName; _Name = u.Name; Password = u.Password; _Menus = u.UserMenu; }
// Constructors public User(string name, string userName, string password) { _UserName = userName; _Password = Utility.HashPassword(password); _Name = name; _Menus = new BasicMenu(); }