using System;
public class Dog
{
private string name;
private int age;
public string Name
get { return this.name; }
set { this.name = value; }
}
public int Age
get { return this.age; }
set { this.age = value; }
public Dog(string name, int age)
this.Name = "Bob";
this.Age = age;
public void Bark()
Console.WriteLine(this.Name+ " said: Wow-wow! I'm "+ this.Age+" years old");