LINQ C# Tutorial

using System;
using System.ComponentModel;
using System.Linq.Expressions;
    class MainClass
    {
        static void Main()
        {
            Expression> expression = ((x, y) => x.StartsWith(y));
            var compiled = expression.Compile();
            Console.WriteLine(compiled("First", "Second"));
            Console.WriteLine(compiled("First", "Fir"));
        }
    }