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?
Asked
Active
Viewed 1.9k times
3 Answers
23
I am not sure what your actual question is, but if it is what are the current versions..
You might also want to take a look at this breakdown chart. It provides the Framework, language and CLR relations.

Community
- 1
- 1

Quintin Robinson
- 81,193
- 14
- 123
- 132
-
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 Mar 27 '09 at 03:38
-
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 Mar 27 '09 at 03:43
-
thanks for good post!it's very help to me – user83450 Mar 27 '09 at 04:02
-
The chart is wrong, though. The C# that shipped with .NET 1.1 was C# 1.2. Crazy, but there it is... – Marc Gravell Mar 27 '09 at 07:22
-
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 Mar 27 '09 at 07:24
-
@Marc I didn't know that C# 1.2 shipped with 1.1, wierd. – Quintin Robinson Mar 27 '09 at 14:51
4
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
- 1,635
- 1
- 11
- 13
1
.net 2 C# 2
.net 3 C# 2
.net 3.5 C# 3

Jimmie R. Houts
- 7,728
- 2
- 31
- 38
-
1While this **is** the timeline for the versions' releases, they are not so strictly bound to each other. You can use C#3 with .NET 2, 3, & 3.5. At the same time, you could use C# 2 with .NET 2, 3, and, albeit a very limited subset (unless you want to write ugly code), 3.5 – Dan Herbert Sep 06 '09 at 05:27