Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Humanoid
- {
- private string username;
- public string Username
- {
- get { return username; }
- set { username = value; }
- }
- }
- class Program
- {
- static void Main(string[] args)
- {
- Humanoid myObj = new Humanoid();
- myObj.Username = "Player1";
- Console.WriteLine(myObj.Username);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement