static void Main(string[] args)
    {
        DisplayNamme delDN = new DisplayNamme(Program.getName);

        Program.ShowName(delDN, "CallBack");
        Console.ReadLine();
    }
 public static void ShowName(DisplayNamme dn, string name)
 {
     // callback method calling. We can call it in two ways.
     dn(name);
     // or explicitly
     dn.Invoke(name);
 }