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 World1
- {
- class Program
- {
- static void Main(string[] args)
- {
- Person person1 = new Person("Stoyan");
- // person1.Name = "Stoyan";
- // person1.Age = 51;
- Person person2 = new Person(20, "Mario", "Bobi", "Kristian", "Stoyan", "Anton");
- // person2.Name = "Mario";
- // person2.Age = 20;
- Person person3 = new Person();
- person1.IntroduceYourSelf();
- person2.IntroduceYourSelf();
- person3.IntroduceYourSelf();
- /*
- Console.WriteLine("My name is {0}! I am {1} years old! My balance is {2}",
- person1.Name, person1.Age, person1.Balance);
- Console.WriteLine("My name is {0}! I am {1} years old!",
- person2.Name, person2.Age);
- Console.WriteLine("My name is {0}! I am {1} years old!",
- person3.Name, person3.Age);
- */
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment