C# 4.0 Dynamic with Chris Burrows and Sam Ng
- Posted: Sep 22, 2009 at 12:10 PM
- 37,763 Views
- 9 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
- Mid Quality WMV (Lo-band, Mobile)
- WMV (WMV Video)
In this video Microsoft developers Sam Ng and Chris Burrows discuss the new Dynamic feature that is part of the next version of C#. This feature provides enhanced interoperation with dynamic languages such as Ruby and Python, with dynamic models such as Silverlight JavaScript, and with COM objects, particularly those that you find in the Office APIs. With the addition of Dynamic to C# 4.0, it is now much easier to access Microsoft Office APIs from C#. Sam and Chris are both developers on the C# compiler team and both helped design the implementation of Dynamic found in C# 4.0.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
very interesting video, and deep too
but why isnt it on the main page?? alot of people will miss it if it doesnt displayed there... :/
Because we didn't know about it. Fixed! Thanks for making content for C9, Charlie.
C
sweet
its a good and technical interview, those have been somewhat thin lately :/
Yes I agree! Now it would be nice to see some how-to/tutorial video with samples
We'll keep more technical stuff coming (there's some great content in the pipeline). You will see more and more content coming from folks who work on product teams in addition to content from the C9 team. That's the future and it's exciting.
In terms of more specific product deep dives + demo and code samples... Stay tuned...
C
During the presentation it was mentioned that interop assemblies are optional. How about the XML source code documentation ? One of the advantages of using primary interop assemblies is to ship the XML source code documentation to the users machines so the users can use the intellisense. How is this supported in DLR?
Too bad you guys didn't white board some examples. Good video regardless
For those of you looking for related material, check out the How Do I (HDI) videos on this page:
http://msdn.microsoft.com/en-us/vcsharp/bb798022.aspx
Look for the "C# 4.0 Video Series," and for the "How do I use the Visual Studio IDE" series. We also put together some VB videos on the Visual Studio 2010 Beta 2, but they do not appear to be posted yet. There should appear here soon:
http://msdn.microsoft.com/en-us/vbasic/bb466226.aspx
For now, here are individual links to the VB posts:
How Do I Use Autoimplemented Properties in Visual Basic will be at http://msdn.microsoft.com/vbasic/ee681550.aspx
How Do I Use Implicit Line Continuation in Visual Basic 10 is http://msdn.microsoft.com/vbasic/ee681551.aspx
- Charlie
Folks asked about XML comments and the DLR. As best I can see, this feature isn't going to be supported with the DLR. The compiler (and IDE) have no idea what the metod that actually gets bound will be, so we cannot give XML documentation at Design Time. That's just the way Dynamic works. When we use Dynamic, the IDE and compiler don't, by definition, know how the call will be bound at runtime, so it doesn't attempt to give us the great support we get for static calls inside the IDE at Design Time. In general, support for dynamic is designed to give us a better option when calling methods dynamically, but there is no denying the advantages that accrue when we link statically at compile time. If you need to call into a dynamic API, then you get better support with C# 4.0 than you had earlier, but that doesn't mean you get all the support available when calling a static method with strict type checking. By the way, and to be sure that no one gets confused, when you are calling Office APIs from the VS 2010 IDE in C# 4.0, you will get good support from Intellisense. Intellisense works when you are calling Office APIs from Visual Studio 2010.
Remove this comment
Remove this thread
close