Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

functional program

//Title of this code
//Rextester.Program.Main is the entry point for your code. Don't change it.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;

namespace Rextester
{
    public class Program
    {
        public static void Main(string[] args)
        {
            new List<int>() { 5 , 87 , 4 , 54 , 78 , 54 }
                    .Where(f => f > 20)
                    .ToList()
                    .ForEach(Console.WriteLine);
        }
    }
}
 run  | edit  | history  | help 1