I am making a class, class numToBin <T>, and I need to make sure that T is a numeric value (Ex., Float, Double, Int, Long, UInt, Ulong, byte, short, BigInteger).  I have seen a lot of posts asking the same question, but they are all a couple of years old.
My question is: Have there been any changes to the language to allow it now? Currently I have:
class numToBin <T>
    where T : struct, IEquatable<T>, IFormattable, IComparable, IComparable<T>
But something like T a = 0; doesn't work.
 
     
     
    