members
CBASIC Lesson 7 Csharp language version
of Acoptex.com in Csharp
CBASIC Learning C# basics
Tags: C#, Csharp, C# fundamentals, C# basics
These lessons are designed to keep you engaged with the process of learning C# basics. Our main focus will be on learning C# basics.
Lesson 7 C# Language version
Attachment: ConsoleApp3.zip
In this lesson we will show you how to change target framework version and language version for your application.
In any project, for example ConsoleApp3, go to menu Project->ConsoleApp3 Properties...
You can go to Application and change target framework to the latest or install other frameworks.
To change the C# language version go to Build and scroll to the bottom. You will see the button Advanced... Click on this button.
You will see Language version option in General field.
Select one of the options and click on OK button. See the list of options available below:
- C# latest major version (default): this is the default option, which is using the latest major version (without using the intermediate version). For example if you have versions 6.0, 7.0, 7.1, 7.2 installed, it will be used version 7.0.
- C# latest minor version (latest): this is the default option, which is using the latest major version (with using the intermediate version). or example if you have versions 6.0, 7.0, 7.1, 7.2 installed, it will be used version 7.2.
- ISO-1: compiler understand syntax included in specification ISO/IEC 23270:2003 C# (1.0/1.1) only
- ISO-2: compiler understand syntax included in specification ISO/IEC 23270:2006 C# (2.0)
- C# 3.0
- C# 4.0
- C# 5.0
- C# 6.0
- C# 7.0
- C# 7.1
- C# 7.2
- C# 7.3
If you need to use the latest version of C# language select C# latest minor version (latest).
Next -> CBASIC Lesson 8 How to create and compile Csharp programs in Windows
Other projects of Acoptex.com










jobs.viewed