Hi,
你有添加引用“using System.Collections.Generic;”吗?
为了更好地解决问题,最好提供一下能重现问题的代码。
Regards,
Kyle
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.