using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AnonymousMethod { class Program { static void Main(string[] args) { //MyForm form = new MyForm(); //form.ShowDialog(); //DelegateTypeVsAnonymousMethod form = new DelegateTypeVsAnonymousMethod(); //form.ShowDialog(); DelegateInvoke form = new DelegateInvoke(); form.ShowDialog(); } } }