using System; using System.Collections.Generic; using System.Text; namespace LearningConsoleApplicationSoln { public class Starter { public static void Main() { Humans ricky = new Humans("ricky"); myTestDelegate1 newDel = new myTestDelegate1(ricky.myTestHandler); Animals.myTestEvent(); // does this fire my event? } } public class LivingThings { public string info = "all living things are nice"; public LivingThings() { Console.Write(this.info+" "); } } public class Animals : LivingThings { public static event myTestDelegate1 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 void myTestHandler() { Console.WriteLine("this is my test handler"); } } public class Birds : Animals { public Birds() { } } public delegate void myTestDelegate1(); }