Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public struct student
- {
- private string username;
- private string password;
- public string Username
- {
- get { return username; }
- set { username = value; }
- }
- public string Password
- {
- get { return password; }
- set { password = value; }
- }
- public student(string username, string password)
- {
- this.username = username;
- this.password = password;
- }
- public student(string username,string email,string phonenumber,string password)
- {
- this.password = password;
- this.username = email;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement