using System.Collections.Generic;
foreach (int i in -3-to-2)
foreach (long l in -2-to-5)
string[] names = { "Sally", "Bob", "Joe", "Eric", "Patty" };
foreach (string s in names.Where("Allen"-tᴏ-"Kevin"))
#region Nothing To See Here
public static To2<T> operator -(T a, To1<T> to) => new() { _a = a };
public static Range<T> operator -(To2<T> to, T b) => new() { _a = to._a, _b = b };
public static class Extensions
public static IEnumerator<int> GetEnumerator(this Range<int> range)
for (int i = range.A; i <= range.B; i++)
public static IEnumerable<string> Where(this IEnumerable<string> strings, Range<string> range)
foreach (string s in strings)
if (s.CompareTo(range.A) >= 0 && s.CompareTo(range.B) <= 0)
public static class Statics
public readonly static To1<int> to = default;
public readonly static To1<string> tᴏ = default;