This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
How do the .NET Framework, CLR and Visual Studio version numbers relate to each other?
Recently I was searching for a documentation on CLR, C# version mapping right from 1.0 to 4.0, but didn't find any good resources. It would be very helpful, If anyone could provide me this information or link to any resources.
The release schedule was as follows:-
C# 1 + CLR 1
C# 2 + CLR 2
C# 3 + CLR 2
C# 4 + CLR 4
Related
This question already has answers here:
Getting Windows OS version programmatically
(6 answers)
Closed 5 years ago.
Using C#, how can I get the Windows build number or OS Build number as shown in the About window? This is different from the version number: for Windows 10 Creator Update, the Build Number would be 1703 and the OS Build would be 15063.296.
I can't find anything relevant in Environment.OSVersion and this linked question (Getting Windows OS version programmatically) is only about getting the version number (10 in this case)
The following gets the Build number:
Environment.OSVersion.Version.Build
This question already has answers here:
How to do version numbers? [closed]
(18 answers)
Closed 7 years ago.
I have a question regarding assembly/file versioning in Class Library project in Visual Studio (C#).
We have 4 numbers (example: 1.0.0.0) and according to:
https://msdn.microsoft.com/en-us/library/system.reflection.assemblyversionattribute.aspx
The four numbers are in this format:
[major version].[minor version].[build number].[revision]
My question is, how exactly do we determine "Major", "Minor", "Build Number", and "Revision"? Are "Major" and "Minor" more subjective while "Build Number" and "Revision" more objective (as we can actually count them)?
Are there any actual "rules" regarding that?
I am rather confused because according to this thread:
Best Practice: Software Versioning
basically it is a matter of preference. Can anybody clarify or having proper "rules" (with example will be best) regarding this?
Edit:
I kind of partially get the answer:
How to do version numbers?
Seems like this explains best so far. Thanks!
This question already has answers here:
Does C# 6.0 work for .NET 4.0?
(5 answers)
Closed 6 years ago.
Is it possible to use Roslyn compiler and new features of C# 6.0 with old versions of .NET Runtime (for example, .NET 4.0)?
For example, I want use the expression-bodied members (int S => x + y; instead of int S { get { return x + y; } }) in .NET 4.0 application.
The new C# 6.0 features don't depend upon framework support so yes, you an app compiled with the C# 6.0 compiler will run on .NET 4.0, assuming of course you specify you are targeting .NET 4.0 in your project file in the first place.
As of now Roslyn C# compiler and tooling cannot run on .NET 4.0
You can certainly cross-compile for .NET 4.0, but to run the compiler itself you need at least .NET 4.5
This question already has answers here:
Does C# 6.0 work for .NET 4.0?
(5 answers)
Closed 6 years ago.
Is it possible to use Roslyn compiler and new features of C# 6.0 with old versions of .NET Runtime (for example, .NET 4.0)?
For example, I want use the expression-bodied members (int S => x + y; instead of int S { get { return x + y; } }) in .NET 4.0 application.
The new C# 6.0 features don't depend upon framework support so yes, you an app compiled with the C# 6.0 compiler will run on .NET 4.0, assuming of course you specify you are targeting .NET 4.0 in your project file in the first place.
As of now Roslyn C# compiler and tooling cannot run on .NET 4.0
You can certainly cross-compile for .NET 4.0, but to run the compiler itself you need at least .NET 4.5
This question already has answers here:
What are the correct version numbers for C#?
(13 answers)
Closed 8 years ago.
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?
I am not sure what your actual question is, but if it is what are the current versions..
C#: 3.0
.NET Framework: 3.5
You might also want to take a look at this breakdown chart. It provides the Framework, language and CLR relations.
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
.net 2 C# 2
.net 3 C# 2
.net 3.5 C# 3