Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C# のクラスまたはメソッドの型パラメーターを何らかの型以外に制約できるかどうか疑問に思っています。ググっても何も出てこない。
前もって感謝します。
いいえ、できません。MSDN で有効な型制約の一覧を確認できます。