24 lines
543 B
C#
24 lines
543 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WinFormsLibrary1
|
|
{
|
|
public class User
|
|
{
|
|
public string username { get; private set; }
|
|
public string email { get; private set; }
|
|
public DateTime birthday { get; private set; }
|
|
|
|
public User(string username, string email, DateTime birthday)
|
|
{
|
|
this.username = username;
|
|
this.email = email;
|
|
this.birthday = birthday;
|
|
}
|
|
|
|
}
|
|
}
|