Advertisement
Guest User

Untitled

a guest
Apr 7th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. public struct student
  2. {
  3. private string username;
  4. private string password;
  5.  
  6. public string Username
  7. {
  8. get { return username; }
  9. set { username = value; }
  10. }
  11.  
  12. public string Password
  13. {
  14. get { return password; }
  15. set { password = value; }
  16. }
  17.  
  18. public student(string username, string password)
  19. {
  20. this.username = username;
  21. this.password = password;
  22.  
  23. }
  24.  
  25. public student(string username,string email,string phonenumber,string password)
  26. {
  27. this.password = password;
  28. this.username = email;
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement