I wrote a Generic Class:
public class Interval where T : IComparable // for checking that Start < End
{
public T Start { ge
While this may seem like a major restriction, you need to remember that generics are generic. Of course, the System.Int32 type can work just fine with the binary operators of C#. However, for the sake of argument, if were a custom class or structure type, the compiler cannot assume it has overloaded the +, -, *, and / operators.