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.
我无意中遇到了关键字“in”。我在 MSDN 上阅读了一篇文章 - in (Generic Modifier) (C# Reference)但仍然不太明白它为什么有用。有人可以提供一个真实世界的例子来说明关键字“in”有用的原因吗?
谢谢。