2
class CustomClassA<T> where T : CustomClassA<T>

The parameter type constrain is the class itself. I wonder why this does not lead to recursive definition?

eom
  • 41
  • 3
  • Welcome to StackOverflow! Someone else has asked a similar question before, which already has good answers. We've therefore closed your question, and provided a link to some good pre-existing answers – canton7 Jul 10 '20 at 12:05

0 Answers0