c# - Windows Phone 7 上的 HashSet<T>

标签 c# silverlight windows-phone-7

Windows Phone 7 上没有 System.Collections.Generic.HashSet 吗?

最佳答案

Windows Phone 7 .NET 库与 Silverlight 3.0(没有 HashSet)中提供的库相当。您可以使用 Dictionary 构建类似于 HashSet 的内容。例如,请参阅此 MSDN 论坛帖子:http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/e1dd3571-dfb8-4abe-b63a-62106d6a4965/

关于c# - Windows Phone 7 上的 HashSet<T>,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4770785/

相关文章:

windows-phone-7 - 相当于 Windows Phone 7 中的 onResume()

silverlight - 如何分析 Silverlight 应用程序?

c# - 你如何在c#中将图像旋转到鼠标的位置?

c# - 更新面板中的隐藏字段值未正确更新

c# - 使用 LINQ 展平嵌套字典

c# - 我应该考虑从 WPF 切换到 Silverlight 吗?

c# - 尝试删除独立存储中的目录时出现异常

windows-phone-7 - 错误 "Operation not permitted on IsolatedStorageFileStream."wp7

c# - DefaultTraceListener 的性能影响

c# - 非阻塞 io 函数而不是 cin.get()