Lambda Expressions

Lambda expressions simplify the syntax of anonymous methods. For example, the program below used an anonymous method that will be assigned to a delegate. using System; namespace AnonymousMethod { public delegate void MessageDelegate(string message); public class Program { public static void Main() Read more