Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace WindowsFormsApplication5
- {
- class User
- {
- string userName;
- string password;
- public string UserName
- {
- get
- {
- return userName;
- }
- set
- {
- userName = value;
- }
- }
- public string Password
- {
- get
- {
- return password;
- }
- set
- {
- password = value;
- }
- }
- public override string ToString()
- {
- return userName + " - " + password;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement