using System;
using System.Collections.Generic;
using System.Text;
namespace LearningConsoleApplicationSoln
{
public class Starter
{
public static void Main()
{
Humans ricky = new Humans("Ricky");
}
}
public class LivingThings
{
public string info = "all living things are nice";
public LivingThings()
{
Console.Write(this.info+" ");
}
}
public class Animals : LivingThings
{
public event myTestDelegate myTestEvent;
public Animals()
{
}
}
public class Cats : Animals
{
public Cats()
{
}
}
public class Humans : Animals
{
public string name;
public Humans(string name)
{
this.name = name;
Console.WriteLine("A new human was just created named {0}.", this.name);
}
public static void myTestDelegate()
{
Console.WriteLine("this is my test handler");
}
}
public class Birds : Animals
{
public Birds()
{
}
}
}