Probably the first question that comes to most people's minds when they see a new version of a programming language come out, they, they first say, well wait a minute what's new? What's the compelling feature that should make me want to stick my head into this and try to figure this out? And so in C# 2010, there are a couple of things that are new that will really change the way you do some things and I just want to highlight those. Then there's a lot of other new things that we'll talk about as we move through the course here. The first one and by far the biggest is Dynamic Support. Now C# 2010 provides support for late binding to Dynamic Types. And I'll talk about Dynamic Types specifically and show you an example of that as we move through the course. But they're introducing a new Data Type here and it's called Dynamic. Now in other languages like Visual Basic or whatever, you would know this as a Variant Data Type. The Data Type is basically selected automatically based on the type data that the Compiler sees there. The reason this happened is because it provides simplified access to COM. Remember COM, the old Component Object Model? All those APIs think Office, think HTML Document Object Model, those kinds of things. And so Microsoft, after kind of looking down on this kind of deal, like a, a Variant Data Type or Dynamic Support in a language like C# for so long, has now decided to go that way again because of that COM programmability. Now Office programmability interestingly enough, is considered one of the great new features in 2010 and guess what? That comes about via again, that new Dynamic Data Type. And so again, we'll talk about Dynamic Data Type as we move through here. There's also quite a few improvements in Visual Studio and how the Compiler works, the things that it will flag for you. One of the coolest things, you're going to notice right away is, anytime I click on a symbol, like a Class Name, a Method Name, anything like that. In Visual Studio, in the Code Window, it will highlight all instances of that symbol all throughout the text. So if I'm trying to thing about refracturing something or locating a particular symbol somewhere else in the code, this make it much easier to do. So anyway, that's just some of the highlights of what's new in 2010 for C#. And I'll point out some more things as we move through the course and look at various aspects of C# 2010.
| Course: | Microsoft C# 2010 |
| Author: | Mark Long |
| SKU: | 34306 |
| ISBN: | 978-1-61866-037-4 |
| Release Date: | 2012-03-19 |
| Duration: | 8.5 hrs / 105 lessons |
| Work Files: |
Yes |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |