You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
397 B
21 lines
397 B
using System;
|
|
|
|
[Serializable]
|
|
public class User
|
|
{
|
|
public string login;
|
|
public string email;
|
|
public string password;
|
|
|
|
public User(string login, string email, string password)
|
|
{
|
|
this.login = login;
|
|
this.email = email;
|
|
this.password = password;
|
|
}
|
|
|
|
public bool IsAnyEmpty()
|
|
{
|
|
return login == "" || email == "" || password == "";
|
|
}
|
|
}
|
|
|