LINQ C# Tutorial

using System;
using System.Collections.Generic;
using System.ComponentModel;
    class MainClass
    {
        static void Main()
        {
            Action printRoot = delegate(int number)
                {
                    Console.WriteLine(Math.Sqrt(number));
                };
            printRoot(2);
        }
    }