using System;
public class Program
{
delegate void FunctionPointer(String str);
static void HelloWorld(string str)
Console.WriteLine(str);
}
public static void Main()
FunctionPointer fp=delegate(string str){
};
FunctionPointer ff=s=>Console.WriteLine(s);
ff("Hello Lambda");
fp("Hello Anonymous Delegate");
fp=HelloWorld;
fp("Hello World");