How to get the closest number from a List<int> with LINQ?
How to get the closest number from a List<int> with LINQ? For example: List<int> numbers = new List<int>(); numbers.Add(2); numbers.Add(5); numbers.Add(7); numbers.Add(10) I n...