181132/which-version-of-c-am-i-using
I'd like to know what version of C# I'm using. If I were to use Python, I would type python -V or something similar from the command line.
import sys print sys.version
But I don't know how to do this in C#. Any ideas?
From developer cmd, type this
csc -langversion:?
This will show something like below. It includes all C# versions that are supported including the default:
1 2 3 4 5 6 7.0 (default) 7.1 7.2 7.3 (latest)
Jeff dislikes properties because they resemble fields, ...READ MORE
If you have.NET Framework v4 installed, then C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe ...READ MORE
On Wikipedia, you may find the most ...READ MORE
C is a bare-bones, straightforward, and clean ...READ MORE
You can try using Javascript Executor to ...READ MORE
Of course, you, can! That is, in ...READ MORE
Most of the games these days don't ...READ MORE
That exception comes when access limited to ...READ MORE
Check the example of polymorphism below. We ...READ MORE
The '#' is actually a musical sharp ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.