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.
我有 2 个列表
List<int> TonightsLottoNumbers = new List<int>(); List<int> MyLottoNumbers = new List<int>();
我如何计算 TonightsLottoNumbers 中有多少 MyLottoNumbers
MyLottoNumbers.Intersect(TonightsLottoNumbers).Count()