<?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>FAQ: Why does DoNotExposeGenericLists recommend that I expose Collection&amp;lt;T&amp;gt; instead of List&amp;lt;T&amp;gt;? [David Kean]</title><link>http://blogs.msdn.com/fxcop/archive/2006/04/27/faq-why-does-donotexposegenericlists-recommend-that-i-expose-collection-lt-t-gt-instead-of-list-lt-t-gt-david-kean.aspx</link><description>DoNotExposeGenericLists fires when I publicly expose List&amp;lt;T&amp;gt; via a field, method, property, or parameter. Why? Although Krzysztof briefly touched on this last year , we wanted to expand on this a little through the use of examples. The first reason</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: FAQ: Why does DoNotExposeGenericLists recommend that I expose Collection&lt;T&gt; instead of List&lt;T&gt;? [David Kean]</title><link>http://blogs.msdn.com/fxcop/archive/2006/04/27/faq-why-does-donotexposegenericlists-recommend-that-i-expose-collection-lt-t-gt-instead-of-list-lt-t-gt-david-kean.aspx#587684</link><pubDate>Mon, 01 May 2006 20:41:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:587684</guid><dc:creator>Ayende Rahien</dc:creator><description>But data binding doesn't work against Collection&amp;lt;T&amp;gt;</description></item><item><title>re: FAQ: Why does DoNotExposeGenericLists recommend that I expose Collection&amp;lt;T&amp;gt; instead of List&amp;lt;T&amp;gt;? [David Kean]</title><link>http://blogs.msdn.com/fxcop/archive/2006/04/27/faq-why-does-donotexposegenericlists-recommend-that-i-expose-collection-lt-t-gt-instead-of-list-lt-t-gt-david-kean.aspx#587882</link><pubDate>Mon, 01 May 2006 23:51:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:587882</guid><dc:creator>David M. Kean</dc:creator><description>Ayende, &lt;BR&gt;&lt;BR&gt;Are you sure about that? I just tried binding a Collection&amp;lt;T&amp;gt; to a combobox and it worked like a charm. &lt;BR&gt;&lt;BR&gt;It implements the same interfaces as List&amp;lt;T&amp;gt;, so can you point to a situation (maybe a code sample) where it doesn't work? That way we can either fix our docs or file a bug on the databinding side.</description></item><item><title>re: IList</title><link>http://blogs.msdn.com/fxcop/archive/2006/04/27/faq-why-does-donotexposegenericlists-recommend-that-i-expose-collection-lt-t-gt-instead-of-list-lt-t-gt-david-kean.aspx#1176444</link><pubDate>Thu, 30 Nov 2006 10:32:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1176444</guid><dc:creator>Javier G. Lozano</dc:creator><description /></item></channel></rss>