<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Coffeehouse - Why does C# not support this?</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Coffeehouse - Why does C# not support this?</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Sun, 19 May 2013 19:07:05 GMT</pubDate>
	<lastBuildDate>Sun, 19 May 2013 19:07:05 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>34</c9:totalResults>
	<c9:pageCount>-34</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p></p>
<pre class="brush: csharp">
public class Worker { 
public int DoWork() { return 10; } 
public string DoWork() { return &quot;Work&quot;; } 
} 
public class Program 
{ 
public Program() 
{ 
Worker worker = new Worker; 
int workInt = worker.DoWork(); 
string workString = worker.DoWork(); 
}} </pre>
<p></p>
<p>&nbsp;</p>
<p>&nbsp;I know I know</p>
<p>&nbsp;</p>
<p>But in 2010 a compiler should be intelligent enough, right?</p>
<p>&nbsp;</p>
<p>Maybe I should put this in the c# 5.0 wishlist.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/551071#551071</link>
		<pubDate>Wed, 19 May 2010 12:58:43 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/551071#551071</guid>
		<dc:creator>Maddus Mattus</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Maddus Mattus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p>Well what would</p>
<p>&nbsp;</p>
<p>var whatAmI = worker.DoWork();</p>
<p>&nbsp;</p>
<p>Do? and of course what would:</p>
<p>&nbsp;</p>
<p>worker.DoWork();</p>
<p>&nbsp;</p>
<p>Do when we don't care about the return? </p>
<p>&nbsp;</p>
<p>I also don't like it because it doesn't seem properly polymorphic to me, as the return type is clearly related to what the function does, and now the identically named functions are clearly doing something different. But that's just me.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/6534f8ae1a0e4136a69e9deb00634d7e#6534f8ae1a0e4136a69e9deb00634d7e</link>
		<pubDate>Wed, 19 May 2010 13:21:12 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/6534f8ae1a0e4136a69e9deb00634d7e#6534f8ae1a0e4136a69e9deb00634d7e</guid>
		<dc:creator>Massif</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Massif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Massif said:</div><div class="quoteText">
<p>Well what would</p>
<p>&nbsp;</p>
<p>var whatAmI = worker.DoWork();</p>
<p>&nbsp;</p>
<p>Do? and of course what would:</p>
<p>&nbsp;</p>
<p>worker.DoWork();</p>
<p>&nbsp;</p>
<p>Do when we don't care about the return? </p>
<p>&nbsp;</p>
<p>I also don't like it because it doesn't seem properly polymorphic to me, as the return type is clearly related to what the function does, and now the identically named functions are clearly doing something different. But that's just me.</p>
</div></blockquote>
<p>I hate var's</p>
<p>&nbsp;</p>
<p>they are for lazy programmers <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>&nbsp;</p>
<p>and worker.DoWork() would not be possible, because DoWork has a return type. Ignoring the return is not 'first class' as Erik would call it <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/806d5baeb6b74fab83b79deb00634daf#806d5baeb6b74fab83b79deb00634daf</link>
		<pubDate>Wed, 19 May 2010 13:30:10 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/806d5baeb6b74fab83b79deb00634daf#806d5baeb6b74fab83b79deb00634daf</guid>
		<dc:creator>Maddus Mattus</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Maddus Mattus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Maddus Mattus said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Massif said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>I hate var's</p>
<p>&nbsp;</p>
<p>they are for lazy programmers <img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
<p>&nbsp;</p>
<p>and worker.DoWork() would not be possible, because DoWork has a return type. Ignoring the return is not 'first class' as Erik would call it
<img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
</div></blockquote>
<p>Or of course:</p>
<p>&nbsp;</p>
<p>ojbect thing = worker.DoWork();</p>
<p>&nbsp;</p>
<p>And, if you have a class A which inherits from B which inherits from C (and DoWork implementations returning As and Bs) what does:</p>
<p>&nbsp;</p>
<p>C wtf = worker.DoWork();</p>
<p>&nbsp;</p>
<p>Resolve as? It'd just be too confusing for us humble programmers.</p>
<p>&nbsp;</p>
<p>And I'm not letting you take away my god-given right to ignore return values! <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-2.gif' alt='Big Smile' />
</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/ec6a10beea7f43ec91949deb00634de4#ec6a10beea7f43ec91949deb00634de4</link>
		<pubDate>Wed, 19 May 2010 13:33:18 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/ec6a10beea7f43ec91949deb00634de4#ec6a10beea7f43ec91949deb00634de4</guid>
		<dc:creator>Massif</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Massif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Maddus Mattus said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Massif said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>I hate var's</p>
<p>&nbsp;</p>
<p>they are for lazy programmers <img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
<p>&nbsp;</p>
<p>and worker.DoWork() would not be possible, because DoWork has a return type. Ignoring the return is not 'first class' as Erik would call it
<img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
</div></blockquote>
<p>Today, worker.DoWork() is valid. You don't have to care that there's a return type. In a theoretical world, you can't make it always required that you capture the return value as that would be&nbsp;a breaking change. You could make it required only when there's
 such &quot;overloads&quot;, but that's probably not a good idea as it introduces some tricky versioning scenarios. And that's all ignoring the very valid points that Massif has made. You may not like 'var', but it exists. There's also the issue with base types causing
 ambiguity. Technically, none of this prevents the introduction of overloading based on return type, as it's really no different from overloading based on out parameters, but it certainly seems like it would be much more confusing for developers and maintainers.
 I don't think it's a good idea.</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/491b5c53cc0c4b17a5399deb00634e1a#491b5c53cc0c4b17a5399deb00634e1a</link>
		<pubDate>Wed, 19 May 2010 14:31:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/491b5c53cc0c4b17a5399deb00634e1a#491b5c53cc0c4b17a5399deb00634e1a</guid>
		<dc:creator>William Kempf</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/wkempf/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Massif said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Maddus Mattus said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>Or of course:</p>
<p>&nbsp;</p>
<p>ojbect thing = worker.DoWork();</p>
<p>&nbsp;</p>
<p>And, if you have a class A which inherits from B which inherits from C (and DoWork implementations returning As and Bs) what does:</p>
<p>&nbsp;</p>
<p>C wtf = worker.DoWork();</p>
<p>&nbsp;</p>
<p>Resolve as? It'd just be too confusing for us humble programmers.</p>
<p>&nbsp;</p>
<p>And I'm not letting you take away my god-given right to ignore return values! <img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-2.gif" alt="Big Smile">
</p>
</div></blockquote>
<p>I'm going to talk to god (Erik) about that!</p>
<p>&nbsp;</p>
<p>Object should become a forbidden word, you can only inherit from object.</p>
<p>&nbsp;</p>
<p>let's say we have A that inherits from B</p>
<p>&nbsp;</p>
<p>if we have two methods:</p>
<p>&nbsp;</p>
<p>A DoWork() and B DoWork()</p>
<p>&nbsp;</p>
<p>A a = worker.DoWork() would result in using A DoWork(), if you want to use the B one use B b = worker.DoWork(), you lazy git <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p>
<p>&nbsp;</p>
<p>I've programmed for 6&#43; years now and I've never run into these problems before. Until recently,... But anyway,.. I've just attached a bool to the end of the parameters B DoWork(bool thisisherebecauseprogramlanguagesarestupid);</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/56a6349ad4bb4a9dabe69deb00634e53#56a6349ad4bb4a9dabe69deb00634e53</link>
		<pubDate>Wed, 19 May 2010 14:38:15 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/56a6349ad4bb4a9dabe69deb00634e53#56a6349ad4bb4a9dabe69deb00634e53</guid>
		<dc:creator>Maddus Mattus</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Maddus Mattus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Maddus Mattus said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Massif said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>I'm going to talk to god (Erik) about that!</p>
<p>&nbsp;</p>
<p>Object should become a forbidden word, you can only inherit from object.</p>
<p>&nbsp;</p>
<p>let's say we have A that inherits from B</p>
<p>&nbsp;</p>
<p>if we have two methods:</p>
<p>&nbsp;</p>
<p>A DoWork() and B DoWork()</p>
<p>&nbsp;</p>
<p>A a = worker.DoWork() would result in using A DoWork(), if you want to use the B one use B b = worker.DoWork(), you lazy git
<img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif" alt="Wink"></p>
<p>&nbsp;</p>
<p>I've programmed for 6&#43; years now and I've never run into these problems before. Until recently,... But anyway,.. I've just attached a bool to the end of the parameters B DoWork(bool thisisherebecauseprogramlanguagesarestupid);</p>
</div></blockquote>
<p>Maddus</p>
<p>&nbsp;</p>
<p>But there's a legit reason to do BaseClass b = DoWork();</p>
<p>&nbsp;</p>
<p>It's not that what you propose isn't technically possible by the compiler, it just breaks OOP. You don't want the compiler to break OOP do you?</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/e97edb05c62f447d92979deb00634e87#e97edb05c62f447d92979deb00634e87</link>
		<pubDate>Wed, 19 May 2010 14:43:41 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/e97edb05c62f447d92979deb00634e87#e97edb05c62f447d92979deb00634e87</guid>
		<dc:creator>Minh</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Minh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p>Overloads aren't discriminated on return types in any language I know of. There are good reasons for it.
</p>
<p>&nbsp;</p>
<p>It would mean you'd need to have a &quot;target type&quot; for an expression in order to resolve which overload to use. That's OK in a trivial example such as yours where you can take it from the LHS of the assignment, but what about when you are evaluating a subexpression
 with overloads based on return type and that subexpression is passed as a parameter to function for which there are multiple overloads - which do you chose then?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/c0d5f09522cf436785389deb00634eb6#c0d5f09522cf436785389deb00634eb6</link>
		<pubDate>Wed, 19 May 2010 15:07:57 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/c0d5f09522cf436785389deb00634eb6#c0d5f09522cf436785389deb00634eb6</guid>
		<dc:creator>rhm</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/rhm/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Minh said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Maddus Mattus said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>Maddus</p>
<p>&nbsp;</p>
<p>But there's a legit reason to do BaseClass b = DoWork();</p>
<p>&nbsp;</p>
<p>It's not that what you propose isn't technically possible by the compiler, it just breaks OOP. You don't want the compiler to break OOP do you?</p>
</div></blockquote>
<p>To make an omelet, you have to break some eggs</p>
<p>&nbsp;</p>
<p>You could do something like</p>
<p>default A doWork()</p>
<p>B doWork()</p>
<p>C doWork()</p>
<p>D doWork()</p>
<p>&nbsp;</p>
<p>would be cool!</p>
<p>&nbsp;</p>
<p>Go do some work <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/3286e3cf7a2f4015be9f9deb00634ee7#3286e3cf7a2f4015be9f9deb00634ee7</link>
		<pubDate>Wed, 19 May 2010 15:07:58 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/3286e3cf7a2f4015be9f9deb00634ee7#3286e3cf7a2f4015be9f9deb00634ee7</guid>
		<dc:creator>Maddus Mattus</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Maddus Mattus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Maddus Mattus said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Minh said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>To make an omelet, you have to break some eggs</p>
<p>&nbsp;</p>
<p>You could do something like</p>
<p>default A doWork()</p>
<p>B doWork()</p>
<p>C doWork()</p>
<p>D doWork()</p>
<p>&nbsp;</p>
<p>would be cool!</p>
<p>&nbsp;</p>
<p>Go do some work <img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
</div></blockquote>
<p>What if I had this really common scenario?</p>
<p>&nbsp;</p>
<p>class Chicken { }</p>
<p>class Hen : Chicken { }</p>
<p>class Rooster : Chicken { }</p>
<p>&nbsp;</p>
<p>List&lt;Chicken&gt; roster = new List&lt;Chicken&gt;();</p>
<p>&nbsp;</p>
<p>roster.Add(DoWork());</p>
<p>&nbsp;</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/b37cdaaf63ba4d4aa8c19deb00634f19#b37cdaaf63ba4d4aa8c19deb00634f19</link>
		<pubDate>Wed, 19 May 2010 15:18:09 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/b37cdaaf63ba4d4aa8c19deb00634f19#b37cdaaf63ba4d4aa8c19deb00634f19</guid>
		<dc:creator>Minh</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Minh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Minh said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Maddus Mattus said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>What if I had this really common scenario?</p>
<p>&nbsp;</p>
<p>class Chicken { }</p>
<p>class Hen : Chicken { }</p>
<p>class Rooster : Chicken { }</p>
<p>&nbsp;</p>
<p>List&lt;Chicken&gt; roster = new List&lt;Chicken&gt;();</p>
<p>&nbsp;</p>
<p>roster.Add(DoWork());</p>
<p>&nbsp;</p>
</div></blockquote>
<p>That was going to be my next question <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>&nbsp;</p>
<p>And for all that breakage and confusion, what does it get you really?</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/68587692550d410682849deb00634f49#68587692550d410682849deb00634f49</link>
		<pubDate>Wed, 19 May 2010 15:25:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/68587692550d410682849deb00634f49#68587692550d410682849deb00634f49</guid>
		<dc:creator>Massif</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Massif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p>Overloading on formal parameters is to say &quot;do the same thing, but with this input&quot;. You differentiate methods by names according to what they do, if they do the same thing then they should return the same type of object.</p>
<p>&nbsp;</p>
<p>That's why I don't think this should be implemented.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/9309e1b047f4412491819deb00634f76#9309e1b047f4412491819deb00634f76</link>
		<pubDate>Wed, 19 May 2010 15:54:16 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/9309e1b047f4412491819deb00634f76#9309e1b047f4412491819deb00634f76</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Maddus Mattus said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Massif said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>I hate var's</p>
<p>&nbsp;</p>
<p>they are for lazy programmers <img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
<p>&nbsp;</p>
<p>and worker.DoWork() would not be possible, because DoWork has a return type. Ignoring the return is not 'first class' as Erik would call it
<img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
</div></blockquote>
<p>I used to think so too, but after programming in Visual Basic properly, less <em>
is</em> more.</p>
<p>&nbsp;</p>
<p>In C# you have</p>
<p>&nbsp;</p>
<p></p>
<pre class="brush: csharp">MyClass myClass = new MyClass</pre>
<p></p>
<p>&nbsp;</p>
<p>Whereas in VB you have</p>
<p>&nbsp;</p>
<p></p>
<pre class="brush: vb">Dim MyClass = As New MyClass</pre>
<p></p>
<p>&nbsp;</p>
<p>which is elegant, notwithstanding&nbsp;the 'Dim' keyword of course - what a tragedy</p>
<p>&nbsp;</p>
<p></p>
<pre class="brush: csharp">var myClass = new MyClass</pre>
<p></p>
<p>&nbsp;</p>
<p>results in far less code, and is infinitely more readable in the long run, especially with long namespaces and properly formatted Linq queries.&nbsp;</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/558a4676d0774cc8bc0b9deb00634fc8#558a4676d0774cc8bc0b9deb00634fc8</link>
		<pubDate>Wed, 19 May 2010 16:08:10 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/558a4676d0774cc8bc0b9deb00634fc8#558a4676d0774cc8bc0b9deb00634fc8</guid>
		<dc:creator>vault</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/vault/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">vault said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Maddus Mattus said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>I used to think so too, but after programming in Visual Basic properly, less <em>
is</em> more.</p>
<p>&nbsp;</p>
<p>In C# you have</p>
<p>&nbsp;</p>
<p></p>
<pre class="brush: csharp">MyClass myClass = new MyClass</pre>
<p></p>
<p>&nbsp;</p>
<p>Whereas in VB you have</p>
<p>&nbsp;</p>
<p></p>
<pre class="brush: vb">Dim MyClass = As New MyClass</pre>
<p></p>
<p>&nbsp;</p>
<p>which is elegant, notwithstanding&nbsp;the 'Dim' keyword of course - what a tragedy</p>
<p>&nbsp;</p>
<p></p>
<pre class="brush: csharp">var myClass = new MyClass</pre>
<p></p>
<p>&nbsp;</p>
<p>results in far less code, and is infinitely more readable in the long run, especially with long namespaces and properly formatted Linq queries.&nbsp;</p>
</div></blockquote>
<p>Oops, wrongemail address</p>
<p>&nbsp;</p>
<div id="ctl00_MainPlaceHolder_EntryList_ctl13_EntryTemplate_BodyLabel">
<p>I used to think so too, but after programming in Visual Basic properly, less is more.</p>
<p>&nbsp;</p>
<p>In C# you have&nbsp;</p>
<p><br>
</p>
<pre class="brush: csharp">MyClass myClass = new MyClass</pre>
<br>
&nbsp;
<p></p>
<p>Whereas in VB you have&nbsp;</p>
<p><br>
</p>
<pre class="brush: vb">Dim MyClass = As New MyClass</pre>
<br>
&nbsp;
<p></p>
<p>which is elegant, notwithstanding the 'Dim' keyword of course - what a tragedy&nbsp;</p>
<p><br>
</p>
<pre class="brush: csharp">var myClass = new MyClass</pre>
<br>
&nbsp;
<p></p>
<p>results in far less code, and is infinitely more readable in the long run, especially with long namespaces and properly formatted Linq queries.
</p>
</div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/d4f1180b603f409193229deb00635000#d4f1180b603f409193229deb00635000</link>
		<pubDate>Wed, 19 May 2010 16:27:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/d4f1180b603f409193229deb00635000#d4f1180b603f409193229deb00635000</guid>
		<dc:creator>Vesuvius</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/vesuvius/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">vault said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Maddus Mattus said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>I used to think so too, but after programming in Visual Basic properly, less <em>
is</em> more.</p>
<p>&nbsp;</p>
<p>In C# you have</p>
<p>&nbsp;</p>
<p></p>
<pre class="brush: csharp">MyClass myClass = new MyClass</pre>
<p></p>
<p>&nbsp;</p>
<p>Whereas in VB you have</p>
<p>&nbsp;</p>
<p></p>
<pre class="brush: vb">Dim MyClass = As New MyClass</pre>
<p></p>
<p>&nbsp;</p>
<p>which is elegant, notwithstanding&nbsp;the 'Dim' keyword of course - what a tragedy</p>
<p>&nbsp;</p>
<p></p>
<pre class="brush: csharp">var myClass = new MyClass</pre>
<p></p>
<p>&nbsp;</p>
<p>results in far less code, and is infinitely more readable in the long run, especially with long namespaces and properly formatted Linq queries.&nbsp;</p>
</div></blockquote>
<p>That VB code fragment introduces an ambiguarity, variable &quot;MyClass&quot; with type &quot;MyClass&quot;; but I get your point.</p>
<p>&nbsp;</p>
<p>I recognise that in cases where the implementation matters as much as the interface the &quot;traditional way&quot; of doing things could make way for some kind of succint syntax for instantiation, how about this:</p>
<p>&nbsp;</p>
<p>SomeClass foo = new; // default constructor</p>
<p>SomeClass foo = new( /* constructor params go here */ );</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/d6fc431e179b4a209ed39deb0063503a#d6fc431e179b4a209ed39deb0063503a</link>
		<pubDate>Wed, 19 May 2010 16:43:27 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/d6fc431e179b4a209ed39deb0063503a#d6fc431e179b4a209ed39deb0063503a</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Massif said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Minh said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>That was going to be my next question <img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
<p>&nbsp;</p>
<p>And for all that breakage and confusion, what does it get you really?</p>
</div></blockquote>
<p>That I can do this:</p>
<p>&nbsp;</p>
<p>FinanceResult&lt;FinanceItem&gt; GetActuals();</p>
<p>FinanceResult&lt;FinanceItem, Dimension1, Dimension2&gt; GetActuals();</p>
<p>&nbsp;</p>
<p>But I guess I should do:</p>
<p>&nbsp;</p>
<p>FinanceResult&lt;FinanceItem&gt; GetActuals();</p>
<p>FinanceResult&lt;FinanceItem, Dimension1, Dimension2&gt; GetActuals&lt;Dimension1, Dimension2&gt;();</p>
<p>&nbsp;</p>
<p>Boring <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/290406897eb8478fbb6b9deb0063506c#290406897eb8478fbb6b9deb0063506c</link>
		<pubDate>Wed, 19 May 2010 17:45:58 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/290406897eb8478fbb6b9deb0063506c#290406897eb8478fbb6b9deb0063506c</guid>
		<dc:creator>Maddus Mattus</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Maddus Mattus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Maddus Mattus said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Massif said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>That I can do this:</p>
<p>&nbsp;</p>
<p>FinanceResult&lt;FinanceItem&gt; GetActuals();</p>
<p>FinanceResult&lt;FinanceItem, Dimension1, Dimension2&gt; GetActuals();</p>
<p>&nbsp;</p>
<p>But I guess I should do:</p>
<p>&nbsp;</p>
<p>FinanceResult&lt;FinanceItem&gt; GetActuals();</p>
<p>FinanceResult&lt;FinanceItem, Dimension1, Dimension2&gt; GetActuals&lt;Dimension1, Dimension2&gt;();</p>
<p>&nbsp;</p>
<p>Boring <img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
</div></blockquote>
<p>Gosh, the right way to do it:</p>
<p>&nbsp;</p>
<p>public interface FinanceService // Just for grouping</p>
<p>{</p>
<p>&nbsp;&nbsp; &nbsp;FinanceResult&lt;FinanceItem&gt; GetActuals();</p>
<p>&nbsp;&nbsp; &nbsp;FinanceResult&lt;FinanceItem, Dimension1, Dimension2&gt; GetActualsWithDimension();</p>
<p>}</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/caf211e25726411fb9119deb006350a0#caf211e25726411fb9119deb006350a0</link>
		<pubDate>Wed, 19 May 2010 20:40:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/caf211e25726411fb9119deb006350a0#caf211e25726411fb9119deb006350a0</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Ion Todirel said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Maddus Mattus said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>Gosh, the right way to do it:</p>
<p>&nbsp;</p>
<p>public interface FinanceService // Just for grouping</p>
<p>{</p>
<p>&nbsp;&nbsp; &nbsp;FinanceResult&lt;FinanceItem&gt; GetActuals();</p>
<p>&nbsp;&nbsp; &nbsp;FinanceResult&lt;FinanceItem, Dimension1, Dimension2&gt; GetActualsWithDimension();</p>
<p>}</p>
</div></blockquote>
<p>w00t thanks <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/cb61ece1ae864f6481689deb006350cf#cb61ece1ae864f6481689deb006350cf</link>
		<pubDate>Wed, 19 May 2010 22:17:08 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/cb61ece1ae864f6481689deb006350cf#cb61ece1ae864f6481689deb006350cf</guid>
		<dc:creator>Maddus Mattus</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Maddus Mattus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p>I'm all for intelligent compilers. On the other hand, as mentioned</p>
<p>&nbsp;</p>
<p>1) it doesn't work with type-inference because there's unsolvable ambiguity</p>
<p>2) it doesn't work in a &quot;purely&quot; side-effecting scenario where the result is forgotten (of course here the Command Query Separation principle will dictate that you do not do that anyway)</p>
<p>3) it doesn't work in a scenario involving inheritance where both return types inherit from the same base type and the variable is of that base type</p>
<p>&nbsp;</p>
<p>Please, do not speak evil about type-inference - it is hugely more important than this non-feature which will only save you keystrokes in a very limited set of scenarios that could be solved by choosing a different name; type-inference is pervasively important,
 this feature not so. So where could this be used?</p>
<p>&nbsp;</p>
<p>1) when assigning to an explicitly typed variable, field or property where there is no inheritance ambiguity</p>
<p>2) when the return value is used as part of a function call and there is no inheritance ambiguity</p>
<p>&nbsp;</p>
<p>Still, it's hugely less important than type-inference which saves keystrokes everywhere without sacrificing type safety (intent is expressed on the right hand side of the assignment symbol).</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/bcaabb3363fc4cbbaf5e9deb00635105#bcaabb3363fc4cbbaf5e9deb00635105</link>
		<pubDate>Wed, 19 May 2010 22:39:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/bcaabb3363fc4cbbaf5e9deb00635105#bcaabb3363fc4cbbaf5e9deb00635105</guid>
		<dc:creator>Bent Rasmussen</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/exoteric/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">W3bbo said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">vault said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>That VB code fragment introduces an ambiguarity, variable &quot;MyClass&quot; with type &quot;MyClass&quot;; but I get your point.</p>
<p>&nbsp;</p>
<p>I recognise that in cases where the implementation matters as much as the interface the &quot;traditional way&quot; of doing things could make way for some kind of succint syntax for instantiation, how about this:</p>
<p>&nbsp;</p>
<p>SomeClass foo = new; // default constructor</p>
<p>SomeClass foo = new( /* constructor params go here */ );</p>
</div></blockquote>
<p><blockquote><div class="quoteText">That VB code fragment introduces an ambiguarity, variable &quot;MyClass&quot; with type &quot;MyClass&quot;</div></blockquote></p>
<p>What's ambiguous about that? Sure, it might be confusing to read, but the VB compiler has no problems with it. Neither does the C# compiler for that matter.</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/786a341b0319425fb7af9deb00635137#786a341b0319425fb7af9deb00635137</link>
		<pubDate>Thu, 20 May 2010 01:24:19 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/786a341b0319425fb7af9deb00635137#786a341b0319425fb7af9deb00635137</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Sven Groot said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">W3bbo said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p></p>
<p>What's ambiguous about that? Sure, it might be confusing to read, but the VB compiler has no problems with it. Neither does the C# compiler for that matter.</p>
</div></blockquote>
<p>If the class MyClass has a static member Foo and an instance member Foo, then you've got an ambiguity.</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/491fa87780fc429880f89deb00635165#491fa87780fc429880f89deb00635165</link>
		<pubDate>Thu, 20 May 2010 02:01:04 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/491fa87780fc429880f89deb00635165#491fa87780fc429880f89deb00635165</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">W3bbo said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Sven Groot said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>If the class MyClass has a static member Foo and an instance member Foo, then you've got an ambiguity.</p>
</div></blockquote>
<p>C# disallows having a static and instance members of the same name, I'm pretty sure.</p>
<p>&nbsp;</p>
<p>Is VB the same?</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/9ea42b423e35466e94539deb00635192#9ea42b423e35466e94539deb00635192</link>
		<pubDate>Thu, 20 May 2010 04:20:04 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/9ea42b423e35466e94539deb00635192#9ea42b423e35466e94539deb00635192</guid>
		<dc:creator>Minh</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Minh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p>You can't have two different return types because it would break polymorphism.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/322100d9c6f8470baa9b9deb006351bd#322100d9c6f8470baa9b9deb006351bd</link>
		<pubDate>Sun, 23 May 2010 17:47:19 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/322100d9c6f8470baa9b9deb006351bd#322100d9c6f8470baa9b9deb006351bd</guid>
		<dc:creator>Scott</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/spivonious/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p>Although this has been beaten to death, I would like to add that there is no language in the world of which I am aware that supports this kind of a thing. Function overloading requires that argument parameters differ and implementing this would require a
 language in which side effects are non-extant.</p>
<p>&nbsp;</p>
<p>That would require a language implementing this feature be either functional or imperative without any object oriented features. If you really want to do this, you could try forking C. You could even call it C--.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/94452d4027864b0ba8b49deb006351eb#94452d4027864b0ba8b49deb006351eb</link>
		<pubDate>Sun, 23 May 2010 18:36:16 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/94452d4027864b0ba8b49deb006351eb#94452d4027864b0ba8b49deb006351eb</guid>
		<dc:creator>Shining Arcanine</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Shining Arcanine/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Shining Arcanine said:</div><div class="quoteText">
<p>Although this has been beaten to death, I would like to add that there is no language in the world of which I am aware that supports this kind of a thing. Function overloading requires that argument parameters differ and implementing this would require a
 language in which side effects are non-extant.</p>
<p>&nbsp;</p>
<p>That would require a language implementing this feature be either functional or imperative without any object oriented features. If you really want to do this, you could try forking C. You could even call it C--.</p>
</div></blockquote>
<p><a href="http://www.cminusminus.org">C-- is a real language</a>.</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/c738a7522a4a4b58b5199deb0063521b#c738a7522a4a4b58b5199deb0063521b</link>
		<pubDate>Sun, 23 May 2010 19:17:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/c738a7522a4a4b58b5199deb0063521b#c738a7522a4a4b58b5199deb0063521b</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">W3bbo said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Shining Arcanine said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p><a href="http://www.cminusminus.org">C-- is a real language</a>.</p>
</div></blockquote>
<p>I had no idea that the name had been taken. I guess he could call it D-- then.</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/4343b4e12fd44fa5a10d9deb00635247#4343b4e12fd44fa5a10d9deb00635247</link>
		<pubDate>Sun, 23 May 2010 20:55:10 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/4343b4e12fd44fa5a10d9deb00635247#4343b4e12fd44fa5a10d9deb00635247</guid>
		<dc:creator>Shining Arcanine</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Shining Arcanine/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Shining Arcanine said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">W3bbo said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>I had no idea that the name had been taken. I guess he could call it D-- then.</p>
</div></blockquote>
<p>or B&#43;&#43; <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/0a6b9e14f4934904a7999deb00635273#0a6b9e14f4934904a7999deb00635273</link>
		<pubDate>Mon, 24 May 2010 05:19:50 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/0a6b9e14f4934904a7999deb00635273#0a6b9e14f4934904a7999deb00635273</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Ion Todirel said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Shining Arcanine said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>or B&#43;&#43; <img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif" alt="Wink"></p>
</div></blockquote>
<p>Just don't name-collide with B or the B-Method <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/58ace1337cbc44438ffa9deb006352a2#58ace1337cbc44438ffa9deb006352a2</link>
		<pubDate>Mon, 24 May 2010 10:22:47 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/58ace1337cbc44438ffa9deb006352a2#58ace1337cbc44438ffa9deb006352a2</guid>
		<dc:creator>Bent Rasmussen</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/exoteric/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Shining Arcanine said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">W3bbo said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>I had no idea that the name had been taken. I guess he could call it D-- then.</p>
</div></blockquote>
<p>D-flat is the same music note as C# right?</p>
<p>&nbsp;</p>
<p>That's what the freetards call c# in the forums anyway.</p>
<p>&nbsp;</p>
<p><img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-2.gif' alt='Big Smile' /></p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/5e772ce21a49487eb5589deb006352d0#5e772ce21a49487eb5589deb006352d0</link>
		<pubDate>Mon, 24 May 2010 10:48:09 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/5e772ce21a49487eb5589deb006352d0#5e772ce21a49487eb5589deb006352d0</guid>
		<dc:creator>Maddus Mattus</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Maddus Mattus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Maddus Mattus said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Shining Arcanine said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>D-flat is the same music note as C# right?</p>
<p>&nbsp;</p>
<p>That's what the freetards call c# in the forums anyway.</p>
<p>&nbsp;</p>
<p><img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-2.gif" alt="Big Smile"></p>
</div></blockquote>
<p>To be completely accurate, C♯ and D♭are enharmonic equivalents (the same tone but written differently), but only in the modern twelve-tone equal temperament tuning system. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>&nbsp;</p>
<p>&nbsp;</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/d2461ed72f2c4da487399deb00635302#d2461ed72f2c4da487399deb00635302</link>
		<pubDate>Mon, 24 May 2010 13:31:09 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/d2461ed72f2c4da487399deb00635302#d2461ed72f2c4da487399deb00635302</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p>I believe the CLR actually does support this, but C# does not in the general sense except in the context of conversion operator methods.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/58e52f43733f47e58b0e9deb0063532c#58e52f43733f47e58b0e9deb0063532c</link>
		<pubDate>Mon, 24 May 2010 14:16:00 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/58e52f43733f47e58b0e9deb0063532c#58e52f43733f47e58b0e9deb0063532c</guid>
		<dc:creator>andokai</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/andokai/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Sven Groot said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Maddus Mattus said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>To be completely accurate, C♯ and D♭are enharmonic equivalents (the same tone but written differently), but only in the modern twelve-tone equal temperament tuning system.
<img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div></blockquote>
<p>I never thought I'd see something that uses my BA in Music on a computer programming forum.</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/aea1e185dabc4d48b80a9deb0063535b#aea1e185dabc4d48b80a9deb0063535b</link>
		<pubDate>Mon, 24 May 2010 14:55:14 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/aea1e185dabc4d48b80a9deb0063535b#aea1e185dabc4d48b80a9deb0063535b</guid>
		<dc:creator>Scott</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/spivonious/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Sven Groot said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Maddus Mattus said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>To be completely accurate, C♯ and D♭are enharmonic equivalents (the same tone but written differently), but only in the modern twelve-tone equal temperament tuning system.
<img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif" alt="Smiley"></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div></blockquote>
<p>That's why you never go and learn pentatonic and still pretend to be a sane man <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>&nbsp;</p>
<p>(note: not to be confused with Miskatonic. That's a university)</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/6832296652724831a6e79deb0063538c#6832296652724831a6e79deb0063538c</link>
		<pubDate>Mon, 24 May 2010 15:48:55 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/6832296652724831a6e79deb0063538c#6832296652724831a6e79deb0063538c</guid>
		<dc:creator>PaoloM</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/PaoloM/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why does C# not support this?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">andokai said:</div><div class="quoteText">
<p>I believe the CLR actually does support this, but C# does not in the general sense except in the context of conversion operator methods.</p>
</div></blockquote>
<p>So, I am so hardcore c# doesnt understand me, but the compiler does?</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/555ce97d884445c297d79deb006353b9#555ce97d884445c297d79deb006353b9</link>
		<pubDate>Wed, 26 May 2010 11:30:03 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/551071-Why-does-C-not-support-this/555ce97d884445c297d79deb006353b9#555ce97d884445c297d79deb006353b9</guid>
		<dc:creator>Maddus Mattus</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Maddus Mattus/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>