Skip to content

Instantly share code, notes, and snippets.

@enisn
Created April 16, 2020 20:11
Show Gist options
  • Save enisn/8a2a894e4912260b00d46507beed8068 to your computer and use it in GitHub Desktop.
Save enisn/8a2a894e4912260b00d46507beed8068 to your computer and use it in GitHub Desktop.
Challenge #1 - Solution 2 - IRange{T}.cs
public interface IRange<T> : IFilterableType where T :struct, IComparable
{
T? Min { get; set; }
T? Max { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment