13.07.2015 Views

C# in Depth

C# in Depth

C# in Depth

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The .NET platform27■■<strong>C#</strong> (the version of the compiler that comes with the framework)Visual Studio—version number and codenameJust for kicks, we’ll throw <strong>in</strong> the Visual Basic number<strong>in</strong>g and nam<strong>in</strong>g too. (Visual Studiois abbreviated to VS and Visual Basic is abbreviated to VB for reasons of space.)Table 1.1 shows the different version numbers.Table 1.1Cross-reference table for versions of different products and technologies.NETFrameworklibraries (max)CLR <strong>C#</strong> Visual Studio Visual Basic1.0 1.0 1.0 1.0 VS .NET 2002 (no codename) VB.NET 7.01.1 1.1 1.1 1.2 aVS .NET 2003 (Everett) VB.NET 7.12.0 2.0 2.0 2.0 VS 2005 (Whidbey) VB 8.03.0 3.0 2.0 2.0 VS 2005 (extension previews),VS 2008 (full support)VB 8.03.5 3.5 2.0 3.0 VS 2008 (Orcas) VB 9.0a. I’ve no idea why this isn’t 1.1. I only discovered that it was 1.2 while research<strong>in</strong>g this book. That’s thenumber<strong>in</strong>g accord<strong>in</strong>g to Microsoft’s version of the specification, at least. I decided not to confuse mattersfurther by also <strong>in</strong>clud<strong>in</strong>g the ECMA-334 edition number here, although that’s another story <strong>in</strong> its own right.Note how both Visual Studio and Visual Basic lost the “.NET” moniker between 2003and 2005, <strong>in</strong>dicat<strong>in</strong>g Microsoft’s emphasis on this be<strong>in</strong>g the tool for W<strong>in</strong>dows development,as far as they’re concerned.As you can see, so far the version of the overall framework has followed the librariesexactly. However, it would be possible for a new version of the CLR with more capabilitiesto still be released with the exist<strong>in</strong>g libraries, so we could (for <strong>in</strong>stance) have.NET 4.0 with libraries from 3.5, a CLR 3.0, and a <strong>C#</strong> 3 compiler. Let’s hope it doesn’tcome to that. As it is, Microsoft has already confounded developers somewhat with thelast two l<strong>in</strong>es of the table..NET 3.0 is really just the addition of four libraries: W<strong>in</strong>dows Presentation Foundation(WPF), W<strong>in</strong>dows Communication Foundation (WCF), W<strong>in</strong>dows WorkflowFoundation (WF 7 ), and W<strong>in</strong>dows CardSpace. None of the exist<strong>in</strong>g library classeswere changed, and neither was the CLR, nor any of the languages target<strong>in</strong>g the CLR,so creat<strong>in</strong>g a whole new major version number for this feels a bit over the top.Next comes .NET 3.5. This time, along with completely new classes (notably LINQ)there are many enhancements to the base class libraries (BCL—types with<strong>in</strong> thenamespaces such as System, System.IO; the core of the framework libraries). There’s anew version of <strong>C#</strong>, without which this book would be considerably shorter, and a new versionof Visual Studio to support that and VB 9.0. Apparently all of that isn’t worth a majorversion number change, though. There are service packs for both .NET 2.0 and 3.0, and7Not WWF due to wrestl<strong>in</strong>g and wildlife conflicts.Licensed to Rhona Hadida

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!