enumerable.range contains code example Example: enumerable.range contains IEnumerable squares = Enumerable.Range(4, 3).Select(x => x * x);