<?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>Comment Feed for Channel 9 - C# 4.0 - Questions and reasons behind the answers</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/442324_100x75.jpg</url>
		<title>Channel 9 - C# 4.0 - Questions and reasons behind the answers</title>
		<link></link>
	</image>
	<description>The topic of &amp;quot;C# 4.0&amp;quot; is an area we&#39;ve been diving into a bit lately. So we took this opportunity to sit down with&amp;nbsp;Niner-regular&amp;nbsp;Anders Hejlsberg and C# Community PM Charlie Calvert to dive into some of the most common questions we are hearing about C#
 4.0 and the reasoning behind some of the answers. If you are not familiar with C# 4.0 or want to dig into some other C# 4.0 resources, make sure to check out the following videos:-&amp;nbsp;[PDC] The future of C#, Anders Hejlsberg-&amp;nbsp;Inside C# 4.0- C# 4.0: Meet the design teamAlso make sure to check out&amp;nbsp;Charlie&#39;s blog and some of the resources he and the team have made available on MSDN:- 
New C# 4.0 Features Paper- 
Covariance and Contravariance in C# 4.0- 
Community Convergence 47This is another Visual Studio 2010 and .NET Framework 4.0 Week Video. For other Visual Studio 2010 videos, check out the&amp;nbsp;Visual
 Studio topic area here on Channel 9. </description>
	<link></link>
	<language>en</language>
	<pubDate>Wed, 22 May 2013 08:40:34 GMT</pubDate>
	<lastBuildDate>Wed, 22 May 2013 08:40:34 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[I think I've watched that bit of Anders presentation at PDC 2008 where he cons's up a eval loop using C# '5' more than half a dozen times now. Reminds me of the F# demo Don did a while back where he created and hooked up a WinForm on the fly. Having this
 in C# will be utterly cool and I really hope Anders et al can make good on their hopes of getting the 'eval' stuff out to us some time before Visual Studio 2012! Huge kudos to the whole C# team, your compiler continues to be a big contributing factor to my
 on-going love affair with programming!<p>posted by tomkirbygreen</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620264550000000</link>
		<pubDate>Tue, 11 Nov 2008 18:54:15 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620264550000000</guid>
		<dc:creator>tomkirbygreen</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[As usual, Anders presents us with all the goodies, packaged up in time for Christmas. A paedagogical talent as well.
<div><br /></div>
<div>The explanation of dynamic is very good and should lay to rest the unfounded criticism of the feature. Of course anytime you introduce another hammer there's a chance someone else use it to knock themselves out, but it sure is a nice thing to have. &nbsp;The
 examples of DOM and REST are very good and I'm very intrigued to explore them closer. &nbsp;Some things are indeed inherently dynamic and &quot;unsafe&quot;, you just have to box them in, and that is exactly what the dynamic type does.</div>
<div><br /></div>
<div>Also looking very much forward to the next VS with MEF and &quot;AST coloring&quot; (okay, bad term).</div>
<div><br /></div>
<div>Kudos to the team from Denmark <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></div>
<p>posted by esoteric</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620304500000000</link>
		<pubDate>Tue, 11 Nov 2008 20:00:50 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620304500000000</guid>
		<dc:creator>esoteric</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[I wanted to ask Anders: any chance to get covariant return types for overridden methods in the near future? I know the co- and contra- variance features will be added only for generics, delegates and interface types so I was wondering...
<br /><p>posted by Ion Todirel</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620364570000000</link>
		<pubDate>Tue, 11 Nov 2008 21:40:57 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620364570000000</guid>
		<dc:creator>Ion Todirel</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[
<p>I completely agree with the question on covariant return types. When I met Anders at the PDC bookstore I really tried to get the message across and I've been pushing the request for a long time (as have numerous other people in the community).</p>
<p>posted by Borum.NET</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620388560000000</link>
		<pubDate>Tue, 11 Nov 2008 22:20:56 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620388560000000</guid>
		<dc:creator>Borum.NET</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[
<p>When can we have a downloadable document about the C#4 language?&nbsp;&nbsp; There is already one for C#3.&nbsp;&nbsp; I am looking forward for a downloadable document for C#4.</p>
<p>posted by cp10000</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620569230000000</link>
		<pubDate>Wed, 12 Nov 2008 03:22:03 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620569230000000</guid>
		<dc:creator>cp10000</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[Oh, this is really cool! I met&nbsp;Charlie Calvert at this MVP Open Day in Beijing, but I never met Anders yet. I'll download this video later, and thank you all in this video.<p>posted by Xinwen</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620611520000000</link>
		<pubDate>Wed, 12 Nov 2008 04:32:32 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620611520000000</guid>
		<dc:creator>Xinwen</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[look in the video description<br /><p>posted by Ion Todirel</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620854840000000</link>
		<pubDate>Wed, 12 Nov 2008 11:18:04 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633620854840000000</guid>
		<dc:creator>Ion Todirel</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[Anyone else having trouble viewing the videos on the site? None of the video links work - only audio. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-6.gif' alt='Sad' /><p>posted by dzCepheus</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633621090430000000</link>
		<pubDate>Wed, 12 Nov 2008 17:50:43 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633621090430000000</guid>
		<dc:creator>dzCepheus</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[Love Anders and would not presume to know anything compared to him, but did he really say XElement is a good alternative for VBs XML support?&nbsp; I think I would rather chew glass.&nbsp; Sure you can make it easier with an extention method like:<br /><p>&nbsp;var xml =<br />@&quot;&lt;Users&gt;<br />&nbsp;&nbsp;&nbsp; &lt;User&gt;user1&lt;/User&gt;<br />&nbsp;&nbsp;&nbsp; &lt;User&gt;user2&lt;/User&gt;<br />&lt;/Users&gt;&quot;.ToXML();<br />Console.WriteLine(xml.ToString());</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static XElement ToXML(this string xmlString)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return XElement.Parse(xmlString);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br /><br />But that lacks two major things, compiler support and designer support.&nbsp; Naturally, it becomes a slippery slope of what meta languages to support as the next question becomes support for JSON and M.&nbsp; I think M makes this more interesting as I think we will
 need compiler support for that.&nbsp; So should M, JSON, and XML have compiler support in c#?&nbsp; Why or why not?&nbsp; Could these be opt-in/opt-out extentions to the language?</p>
<p>posted by staceyw</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633621497290000000</link>
		<pubDate>Thu, 13 Nov 2008 05:08:49 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633621497290000000</guid>
		<dc:creator>staceyw</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[Another great vid from Anders. I don't have an especially smart comment other than to say I appreciate these and look forward to the next time we see him on Ch9.<br /><p>posted by JAlexandrian</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633622186930000000</link>
		<pubDate>Fri, 14 Nov 2008 00:18:13 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633622186930000000</guid>
		<dc:creator>JAlexandrian</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[Must come as a matter of taste.&nbsp; I strongly prefer the XElement method to the VB inline method.<br /><br />No difficulties in having to line up ending tags.&nbsp; Its XML exploiting the C# parser.<p>posted by John Melville-- MD</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633622346740000000</link>
		<pubDate>Fri, 14 Nov 2008 04:44:34 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633622346740000000</guid>
		<dc:creator>John Melville-- MD</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[
<p>Will&nbsp;Visual C&#43;&#43; status quote&nbsp; be enough to overcome the appeal of the D programming language in 2010?or is C#&nbsp;going to be unleashed?&nbsp;</p>
<p>Why doesn't&nbsp;Visual Studio&nbsp;provide for&nbsp;two forms of compilation.&nbsp; For example the exiting&nbsp;just in time&nbsp;and full compilation of the MSIL&nbsp;to&nbsp; machine code.&nbsp; I really see that C&#43;&#43; at this stage&nbsp;only serves for the purpose of maintaining legacy code.&nbsp; The incarnation
 of C&#43;&#43; was a hack and will continue to grow as a hack.&nbsp;&nbsp;.Net languages&nbsp;(in particular C#) for one&nbsp;should take full charge of future&nbsp;development in both desktop, web&nbsp;and yes system development. D programming&nbsp;language&nbsp;is already making&nbsp;an&nbsp;impression on&nbsp; a small
 but growing&nbsp;&nbsp;C&#43;&#43;&nbsp;community.&nbsp; D programming languages has syntactic appeal of C# and the horse power of C/C&#43;&#43;.&nbsp; So what is the constraint,&nbsp; religion or technical feasibility.&nbsp;DotNet&nbsp;languages&nbsp;will be competing against the up an coming D programming languages
 sooner or later&nbsp;for development of system software and embedded systems. Again I say C&#43;&#43; is dead&nbsp;weight and should only be relevant for legacy code (in other words C&#43;&#43; will soon be Cobol). &nbsp;C#&nbsp;(all .net lingos)&nbsp;can easily take the manto&nbsp;if&nbsp;Visual Studio provided
 for this&nbsp;option&nbsp;and&nbsp;full support for &quot;producing&quot;&nbsp; applications that are true&nbsp; platform independent.&nbsp;</p>
<p>posted by Joesmoe</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633623189740000000</link>
		<pubDate>Sat, 15 Nov 2008 04:09:34 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633623189740000000</guid>
		<dc:creator>Joesmoe</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[
<p>Well, I can see a some nice scenarios to use this.<br /><br />But I had hoped for something much more powerful <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br /><br />private string Foo(int x)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;return x &#43; 10;<br />}<br /><br />public DoSomeThing(Method name)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;var fooValue = name(10);<br />}<br /><br />public Caller()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;DoSomeThing(&quot;Foo&quot;);<br />}<br /><br />That's what I call dynamic <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-2.gif' alt='Big Smile' /> OR even more useful, dynamics for class names also.<br /><br /></p>
<p>posted by janus007</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633725667040000000</link>
		<pubDate>Fri, 13 Mar 2009 18:45:04 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c633725667040000000</guid>
		<dc:creator>janus007</dc:creator>
	</item>
	<item>
		<title>Re: C# 4.0 - Questions and reasons behind the answers</title>
		<description>
			<![CDATA[Thanks for this discussion.&nbsp;As we train ourselves to think in terms of&nbsp;Abstraction when programming we many time find ourselves purposely genericizing the type.&nbsp; Passing objects in and out of methods becomes attractive with repsect to Abstraction.&nbsp; The problem of course is in the reconstruction of the Object into statically typed objects just for the sake of calling a method.&nbsp; As you mentioned using the Reflection class does indeed become messy (and actually predates things such as the HTML DOM (for example MethodInfo and FieldInfo) are not terms used within the HTMLDOM, so we have to convert mentally when trying to work with HTML DOM that a Reflection.MethodInfo = DOM.FiledAttirbute (or something similar).&nbsp; It requires speding too much time in the debugger's immediate window trying to ferret this stuff out.&nbsp; With Dynamic it looks like we will immensly ease this problem.&nbsp; Thanks again.<p>posted by Javaman</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c634211944090000000</link>
		<pubDate>Mon, 27 Sep 2010 14:26:49 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/VisualStudio/C-40-Questions-and-reasons-behind-the-answers#c634211944090000000</guid>
		<dc:creator>Javaman</dc:creator>
	</item>
</channel>
</rss>