HashSet的< T>在Windows Phone 7 [英] HashSet<T> on Windows Phone 7
本文介绍了HashSet的< T>在Windows Phone 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有在Windows Phone 7?
Is there no System.Collections.Generic.HashSet on Windows Phone 7?
推荐答案
在Windows Phone 7的.NET库没有System.Collections.Generic.HashSet具有可比性的是,在Silverlight的3.0提供(不具有 HashSet的
)。你可以建立像一个 HashSet的
使用词典
。例如,看到这个MSDN论坛的帖子: HTTP: //social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/e1dd3571-dfb8-4abe-b63a-62106d6a4965/
The Windows Phone 7 .NET libraries are comparable to what is provided in Silverlight 3.0 (which doesn't have HashSet
). You can build something like a HashSet
using a Dictionary
. For example, see this MSDN forum post: http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/e1dd3571-dfb8-4abe-b63a-62106d6a4965/
这篇关于HashSet的< T>在Windows Phone 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文