class Program
{
static void Main(string[] args)
{
Cat c = new Cat { Age = 1, Name = "asdf" };
Console.WriteLine(c.Age +" "+c.Name );
}
class Cat
{
int age = 0;
string name = "";
public int Age { get { return age; } set { age = value; } }
public string Name { get { return name; } set { name = value; } }
}
}