Multiple constraints example doesn't make any sense #40268
Labels
dotnet-csharp/svc
fundamentals/subsvc
in-pr
This issue will be closed (fixed) by an active pull request.
📌 seQUESTered
Identifies that an issue has been imported into Quest.
Type of issue
Code doesn't work
Description
We are given this class declaration:
This class declaration is, at face value, nonsense. At least I personally have a hard time grasping what could be meant by it, and there is no discussion or example involving it in the document, which contains no motivation or way to use such a class. It is not at all clear how it could even be instantiated.
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/generics/constraints-on-type-parameters#feedback
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/programming-guide/generics/constraints-on-type-parameters.md
Document Version Independent Id
22b2c77c-2721-9384-3863-046e391ea4b1
Article author
@BillWagner
Metadata
Associated WorkItem - 289448
The text was updated successfully, but these errors were encountered: