When writing generic methods and functions, I have seen the Where type constraint written as
public static void MyMethod<T>(params T[] newVals) where T : IMyInterface
and also
public static void MyMethod<T>(params T[] newVals) where T : class, IMyInterface
does the 'class' type constraint add anything - I don't imagine a struct could ever implement an interface, but i could be wrong?
Thank you