1

I don't understand this generic constraint where the constraint is the same type as the class.

public class ValueObject<T> where T : ValueObject<T>

What does this constraints? When it is used?

RM.
  • 1,984
  • 19
  • 29

1 Answers1

0

Generic T must inherit of gived type. where T : BaseClass.

kacperfaber
  • 84
  • 1
  • 8