<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Non-Generic Collections to be Removed from Silverlight [Inbar Gazit]</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx</link><description>Those of you who are already using Silverlight 1.1 Alpha may have seen that the familiar non-generic collections were all marked as obsolete. This includes almost everything under the System.Collections namespace. You shouldn’t be too surprised. We’ve</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Non-Generic Collections to be Removed from Silverlight [Inbar Gazit]</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3548274</link><pubDate>Tue, 26 Jun 2007 19:38:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3548274</guid><dc:creator>MichaelGiagnocavo</dc:creator><description>&lt;p&gt;Whats the efficient, generic version of BitArray?&lt;/p&gt;
</description></item><item><title>System.Collections class are obsolete</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3548312</link><pubDate>Tue, 26 Jun 2007 19:42:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3548312</guid><dc:creator>Peter Ritchie's MVP Blog</dc:creator><description>&lt;p&gt;Collection classes like ArrayList, SortedList, Stack and Hashtable will shortly be obsoleted (i.e. the&lt;/p&gt;
</description></item><item><title>re: Non-Generic Collections to be Removed from Silverlight [Inbar Gazit]</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3548365</link><pubDate>Tue, 26 Jun 2007 19:44:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3548365</guid><dc:creator>Inbar Gazit</dc:creator><description>&lt;p&gt;Michael,&lt;/p&gt;
&lt;p&gt;You can use and Array or a List&amp;lt;Boolean&amp;gt; to get the functionality of a BitArray. However, if by efficient you mean that we don't use unnecessary bits to store the data - that solution is not efficient. For Silverlight we decided that the need for BitArray is minimal and the workaround are decent enough. In the big framework you can still use BitArray if you have a need for efficiency or use generics if you don't.&lt;/p&gt;
</description></item><item><title>re: Non-Generic Collections to be Removed from Silverlight [Inbar Gazit]</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3549332</link><pubDate>Tue, 26 Jun 2007 21:06:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3549332</guid><dc:creator>Peter Ritchie</dc:creator><description>&lt;p&gt;Michael, &amp;nbsp;If you're not using more than 32 bits, you might be able to use BitVector32.&lt;/p&gt;
</description></item><item><title>Silverlight is getting smaller and smaller...</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3550269</link><pubDate>Tue, 26 Jun 2007 22:08:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3550269</guid><dc:creator>Pawel Pabich's blog</dc:creator><description>&lt;p&gt;Silverlight is getting smaller and smaller...&lt;/p&gt;
</description></item><item><title>Silverlight is getting smaller and smaller...</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3550278</link><pubDate>Tue, 26 Jun 2007 22:08:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3550278</guid><dc:creator>Blog</dc:creator><description>&lt;p&gt;Silverlight is getting smaller and smaller...&lt;/p&gt;
</description></item><item><title>silverlight: base class changes coming</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3554512</link><pubDate>Wed, 27 Jun 2007 01:36:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3554512</guid><dc:creator>Method ~ of ~ failed</dc:creator><description>&lt;p&gt;silverlight: base class changes coming&lt;/p&gt;
</description></item><item><title>BCL Team Confirms Removal of old and unimportant Classes from Silverlight 1.1</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3559540</link><pubDate>Wed, 27 Jun 2007 08:51:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3559540</guid><dc:creator>Jonathan Parker</dc:creator><description>&lt;p&gt;The BCL Team have confirmed via their blog that they will be removing some of the BCL types from Silverlight&lt;/p&gt;
</description></item><item><title>re: Non-Generic Collections to be Removed from Silverlight [Inbar Gazit]</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3580561</link><pubDate>Thu, 28 Jun 2007 12:42:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3580561</guid><dc:creator>lexp</dc:creator><description>&lt;p&gt;1. Are there any plans to obsolete non-generic collections in future versions of .NET Framework?&lt;/p&gt;
&lt;p&gt;2. Is Silverlight a branch of .net framework code or you have a single source code tree?&lt;/p&gt;
</description></item><item><title>re: Non-Generic Collections to be Removed from Silverlight [Inbar Gazit]</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3585976</link><pubDate>Thu, 28 Jun 2007 18:37:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3585976</guid><dc:creator>Inbar Gazit</dc:creator><description>&lt;p&gt;lexp,&lt;/p&gt;
&lt;p&gt;1. Not at this point. Check the blog often to be updated on our latest plans.&lt;/p&gt;
&lt;p&gt;2. We have a single source code and we build it separately for Silverlight from the big framework so that we only have parts of it in Silverlight. The rest should be the same in both frameworks for the most part.&lt;/p&gt;
</description></item><item><title>Non-Generic Collections to be Removed From Silverlight 1.1</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3587299</link><pubDate>Thu, 28 Jun 2007 20:22:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3587299</guid><dc:creator>Pete Brown's Blog</dc:creator><description>&lt;p&gt;Luckily the interfaces are still left in. They were marked obsolete, but I had some binding scenarious&lt;/p&gt;
</description></item><item><title>re: Non-Generic Collections to be Removed from Silverlight [Inbar Gazit]</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3601453</link><pubDate>Fri, 29 Jun 2007 14:13:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3601453</guid><dc:creator>JFo</dc:creator><description>&lt;p&gt;Can you make it so List&amp;lt;T&amp;gt; is completely implemented?&lt;/p&gt;
&lt;p&gt;The two I miss are:&lt;/p&gt;
&lt;p&gt;List&amp;lt;T&amp;gt; CTOR that takes an IEnumerable&lt;/p&gt;
&lt;p&gt;and the List&amp;lt;T&amp;gt; AddRange. &lt;/p&gt;
&lt;p&gt;If not already there, it would be nice to have an Observable&amp;lt;T&amp;gt; collection as well so we can know when the collection changed through an event.&lt;/p&gt;
</description></item><item><title>re: Non-Generic Collections to be Removed from Silverlight [Inbar Gazit]</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3609106</link><pubDate>Fri, 29 Jun 2007 22:04:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3609106</guid><dc:creator>inbarg</dc:creator><description>&lt;p&gt;Jfo,&lt;/p&gt;
&lt;p&gt;I'm not sure why you think these are not implemented in Silverlight but this is not the case. List&amp;lt;T&amp;gt; has the same constructors as in 2.0/3.5 and also has the AddRange method implemented. Please take a second look to make sure.&lt;/p&gt;
&lt;p&gt;As for Observable&amp;lt;T&amp;gt;, that's an interesting idea...&lt;/p&gt;
</description></item><item><title>re: Non-Generic Collections to be Removed from Silverlight [Inbar Gazit]</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3612447</link><pubDate>Sat, 30 Jun 2007 03:28:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3612447</guid><dc:creator>JFo</dc:creator><description>&lt;p&gt;You're right I think the bug is in agclr.dll - whoever owns that. &amp;nbsp;Can you file it?&lt;/p&gt;
&lt;p&gt;Title: List&amp;lt;T&amp;gt; CTOR and AddRange do not work with VisualCollection&lt;/p&gt;
&lt;p&gt;The issue seems to be with their visual collection. &lt;/p&gt;
&lt;p&gt;In Orcas Beta 1, Silverlight Alpha 1.1&lt;/p&gt;
&lt;p&gt;Create new silverlight project&lt;/p&gt;
&lt;p&gt;In Page.xaml add a &amp;lt;Rectangle Fill=&amp;quot;red&amp;quot;/&amp;gt; to the &amp;lt;Canvas&amp;gt;&lt;/p&gt;
&lt;p&gt;In Page.xaml.cs, add the following line to the Page_Loaded event:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;List&amp;lt;Visual&amp;gt; secondList = new List&amp;lt;Visual&amp;gt;(this.Children);&lt;/p&gt;
&lt;p&gt;Turn on Debug -&amp;gt; Catch Exceptions&lt;/p&gt;
&lt;p&gt;F5&lt;/p&gt;
&lt;p&gt;Result:&lt;/p&gt;
&lt;p&gt;Not supported exception&lt;/p&gt;
&lt;p&gt; 	agclr.dll!MS.Internal.Collection&amp;lt;System.Windows.Media.Visual&amp;gt;.CopyTo(System.Windows.Media.Visual[] array = {System.Windows.Media.Visual[1]}, int index = 0) + 0x2b bytes	&lt;/p&gt;
&lt;p&gt; 	mscorlib.dll!System.Collections.Generic.List&amp;lt;System.Windows.Media.Visual&amp;gt;.List(System.Collections.Generic.IEnumerable&amp;lt;System.Windows.Media.Visual&amp;gt; collection = {System.Windows.Media.VisualCollection}) + 0x14f bytes	&lt;/p&gt;
&lt;p&gt;&amp;gt;	SilverlightProject1!SilverlightProject1.Page.Page_Loaded(object o = {SilverlightProject1.Page}, System.EventArgs e = {System.EventArgs}) Line 23 + 0x20 bytes	C#&lt;/p&gt;
&lt;p&gt; 	[Managed to Native Transition]	&lt;/p&gt;
&lt;p&gt; 	agclr.dll!MS.Internal.JoltHelper.FireEvent(System.IntPtr unmanagedObj = 52477992, string objectName = &amp;quot;System.Windows.Controls.Canvas&amp;quot;, System.IntPtr unmanagedObjArgs = 0, string objectNameArgs = null, string eventName = &amp;quot;M@1&amp;quot;) + 0x281 bytes	&lt;/p&gt;
&lt;p&gt; 	[Appdomain Transition]	&lt;/p&gt;
&lt;p&gt; 	[Native to Managed Transition]	&lt;/p&gt;
&lt;p&gt;Expected:&lt;/p&gt;
&lt;p&gt;Contents of VisualCollection copied to secondList.&lt;/p&gt;
&lt;p&gt;Also should work for secondList.AddRange();&lt;/p&gt;
</description></item><item><title>Silverlight 1.1ではGenericでないCollectionはなくなるそうな。</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3695957</link><pubDate>Thu, 05 Jul 2007 04:38:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3695957</guid><dc:creator>ひろえむの日々是勉強</dc:creator><description>&lt;p&gt;Silverlight 1.1ではGenericでないCollectionはなくなるそうな。&lt;/p&gt;
</description></item><item><title>Silverlight is getting smaller and smaller</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3758448</link><pubDate>Sun, 08 Jul 2007 11:08:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3758448</guid><dc:creator>I hate Spaghetti (code)</dc:creator><description>&lt;p&gt;According to Inbar Gazit almost all of the System.Collection classes (and Queue&amp;amp;lt;T&amp;amp;gt;, Stack&amp;amp;lt;T&amp;amp;gt;&lt;/p&gt;
</description></item><item><title>Silverlight 1.1の基本クラス ライブラリにおける非ジェネリック系のCollectionについて</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3972154</link><pubDate>Fri, 20 Jul 2007 12:01:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3972154</guid><dc:creator>ディベロッパー製品開発統括部 Blog</dc:creator><description>&lt;p&gt;Silverlight 1.1の基本クラス ライブラリにおける非ジェネリック系のCollectionについて Alpha版で調査をなされていらっしゃるお客さまも多いのではと思いますが、Silverlightのランタイムにおいて非ジェネリック系のコレクション&lt;/p&gt;
</description></item><item><title>Silverlight 1.1の基本クラス ライブラリにおける非ジェネリック系のCollectionについて</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#3973193</link><pubDate>Fri, 20 Jul 2007 13:08:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3973193</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;Alpha版で調査をなされていらっしゃるお客さまも多いのではと思いますが、Silverlightのランタイムにおいて非ジェネリック系のコレクション クラスを取り除く予定でございます。また、ジェネリックのコレクション&lt;/p&gt;
</description></item><item><title>Tip of the Day - Time to move to Generic Collections for Silverlight.</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#7523208</link><pubDate>Thu, 07 Feb 2008 22:01:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7523208</guid><dc:creator>Jesse Liberty - Silverlight Geek</dc:creator><description>&lt;p&gt;In Silverlight 1.1 the non-generic collections were marked obsolete. We have announced that the non-generic&lt;/p&gt;
</description></item><item><title>Tip of the Day - Time to move to Generic Collections for Silverlight.</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#7523567</link><pubDate>Thu, 07 Feb 2008 22:11:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7523567</guid><dc:creator>Blogs</dc:creator><description>&lt;p&gt;In Silverlight 1.1 the non-generic collections were marked obsolete. We have announced that the non-generic&lt;/p&gt;
</description></item><item><title>Tip of the Day - Time to move to Generic Collections for Silverlight.</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#7812948</link><pubDate>Wed, 20 Feb 2008 10:55:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7812948</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;In Silverlight 1.1 the non-generic collections were marked obsolete. We have announced that the non-generic&lt;/p&gt;
</description></item><item><title>Non-Generic Collections to be Removed From Silverlight 1.1</title><link>http://blogs.msdn.com/bclteam/archive/2007/06/26/non-generic-collections-to-be-removed-from-silverlight-inbar-gazit.aspx#8665936</link><pubDate>Sun, 29 Jun 2008 06:44:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8665936</guid><dc:creator>DEVELOPMENT SITE - NOT MY PUBLIC BLOG</dc:creator><description>&lt;p&gt;Luckily the interfaces are still left in. They were marked obsolete, but I had some binding scenarious with my home-made drop-down list box (for the current project) that just didn&amp;amp;#39;t work without IList, as I didn&amp;amp;#39;t know &amp;amp;lt;T&amp;amp;gt; Here&amp;amp;#39;s the&lt;/p&gt;
</description></item></channel></rss>