using System.Collections.Generic;
public delegate void SimpleDelegate(string aParam);
public static void TestFunction(string aParam)
Console.WriteLine("I was called by a delegate.");
Console.WriteLine("I got parameter {0}.", aParam);
SimpleDelegate simpleDelegate = new SimpleDelegate(TestFunction);