Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace ClassLibrary1
- {
- public class User
- {
- private String userName;
- public User(String userName)
- {
- this.userName = userName;
- }
- public String UserName
- {
- get { return userName; }
- }
- public override string ToString()
- {
- return "Usuario: " + userName;
- }
- }
- }
Add Comment
Please, Sign In to add comment