<?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>Sharing static fields among generic class instances</title><link>http://blogs.msdn.com/abhinaba/archive/2007/02/22/sharing-static-fields-among-generic-class-instances.aspx</link><description>Someone posted on an internal DL on how he can share static fields for all instances of the generic class (among all instances of different closed constructed types). The answer is you can't and I quote the C# 2.0 spec on this (so you better believe me)</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Sharing static fields among generic class instances</title><link>http://blogs.msdn.com/abhinaba/archive/2007/02/22/sharing-static-fields-among-generic-class-instances.aspx#1752153</link><pubDate>Sat, 24 Feb 2007 15:05:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1752153</guid><dc:creator>Massimo Andreasi Bassi</dc:creator><description>&lt;p&gt;It sounds resonable to me because the static field (or method) could use the type T in the declaration:&lt;/p&gt;
&lt;p&gt;ex.: public static T dCount;&lt;/p&gt;
&lt;p&gt;PS It appened to me while trying to access some static helper methods in &amp;quot;quick and dirty&amp;quot; mode;)&lt;/p&gt;
</description></item></channel></rss>