Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- namespace MathOperations
- {
- class Program
- {
- static void Main(string[] args)
- {
- Func<int, double> getValue = x => Math.Log(x % 10 - 2); // we don't need this one
- var numbers = Enumerable.Range(0, 100).Where(x => Math.Log(x % 10 - 2) is var value && value >= 1 && value <= 2);
- Console.WriteLine(string.Join(" ", numbers));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement