static void Main(string[] args) { Person Ivaylo = new Person(); Ivaylo.age = 24; Ivaylo.name = "Ivaylo"; Ivaylo.job = "programmer"; Console.WriteLine(Ivaylo.age); Console.WriteLine(Ivaylo.name); Console.WriteLine(Ivaylo.job); Person Chris = new Person("Chris", 23, "finances"); Console.WriteLine(Chris.age); Console.WriteLine(Chris.name); Console.WriteLine(Chris.job); }
static void Main(string[] args) { Person Chris = new Person(); }