using System;
using System.Collections;
namespace RickyTest
{
public class Cat : Animals
{
public string name;
public int age;
public Cat(string name, int age)
{
this.name = name;
this.age = age;
Console.WriteLine("A new cat was just created named {0} and is {1} years old", this.name, this.age);
}
}
public class Animals
{
public string info = "All Animals can talk and they like to say 'Hi'";
public Animals()
{
Console.WriteLine("{0}", this.info);
}
}
public class TestApplication
{
static void Main()
{
Cat ricky = new Cat("RickyWh", 26);
}
}
}