tags:

views:

2010

answers:

4

I am confused with both the C# version and .NET framework version. In other words, I want to know the relationship with C# version and .NET framework. E.g: which is C# version in .NET framework 3.0?

+12  A: 
Quintin Robinson
The current framework version is 3.5 SP1 - for example including the ADO.NET Entity Framework not present in version 3.5.
Daniel Brückner
Yes, if you follow the link to the framework it will provide the current version. Is SP1 now a mandatory update in windows?
Quintin Robinson
thanks for good post!it's very help to me
The chart is wrong, though. The C# that shipped with .NET 1.1 was C# 1.2. Crazy, but there it is...
Marc Gravell
Also (for the OP) - note that C# 3 can be used with .NET 2.0 and .NET 3.0, especially if you use something like LINQBridge.
Marc Gravell
@Marc I didn't know that C# 1.2 shipped with 1.1, wierd.
Quintin Robinson
+1  A: 

.net 2 C# 2

.net 3 C# 2

.net 3.5 C# 3

Jimmie R. Houts
Dan Herbert
+1  A: 

C# 1.0 - Managed Code

C# 2.0 - Generics, Nullable Types, Anonymous Delegates, Partial Classes / Methods

C# 3.0 - LINQ, Lambda Expressions, Implicit Variable Typing, Streamlined Object Initialization

// Related? somewhat perhaps

Matthew Sposato
A: 

C# is a language.

.Net Framework is a software framework (a collection of classes,data-types,...)

They are not directly relevant to each other.They are two different things.

Isaac