I'm trying to print even numbers from 1 to 10 using LINQ with the following code
Enumerable.Range(1, 10).Select(n => n%2 == 0).ToString().ToList().ForEach(Console.WriteLine);
Now instead of printing even numbers its printing True or False statements. Where am i doing mistake here?