I've faced alot of confusion in regard to difference of generic reference type vs. generic value type during my API coding.
Guys, the question is what are differences in regard to constraints and functionalities (most important/easily overlooked ones)between these two beasts:
class ReferenceGeneric <T> where ???
{
}
and
struct ValueGeneric <T>: where ???
{
}
Edit Just to clarify the question and what I am after: I want to know what you can do with Generic reference types AND cannot do with generic values types... and visa versa
Edit#2 Further clarifications: How can T be constrained if generic type is reference or value type -- are there differences as to how each type can be constrained?