Remember from the lesson lambda expressions that we can declare a method locally, without a name, and use it only in one place, where we declare it. This is an example of a lambda expression:
using System;
namespace HelloWorld
{
public class Program
{
delegate bool SomeDelegate(int _param);
public static void Main()
{
SomeDelegate _delegate = i => i > 5;
Console.Read();… Read more