0

I have the following method:

public class RangeFilter<T> : Filter<T> {
}

Is there a way to restrict T to the following types:

bool 
byte, sbyte 
char, string
decimal, double, float
int, uint, long, ulong
short, ushort
Miguel Moura
  • 36,732
  • 85
  • 259
  • 481

0 Answers0