Advertisement
tremaun22

Account

Aug 16th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Calender
  8. {
  9. public class Account
  10. {
  11. private String username;
  12. private String password;
  13.  
  14. public Account()
  15. {
  16.  
  17. }
  18. public Account(String UserName, String PassWord)
  19. {
  20. username = UserName;
  21. password = PassWord;
  22. }
  23.  
  24. public String getUserName()
  25. {
  26. return username;
  27. }
  28.  
  29. public override String ToString()
  30. {
  31. return username;
  32. }
  33.  
  34.  
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement