Share via


How do i find out the version of C# installed in my system...

Question

Friday, December 31, 2010 3:55 AM

dear All,

 

How do i find the Csharp version installed in my system.

 

May i also take this opportunity to wish all of u a very happy and prosperous new year.

 

Sajit

All replies (3)

Friday, December 31, 2010 4:55 AM âś…Answered

Technically, there are no different versions of C#; there are only different versions of the framework, which instruct the IDE, compiler, linker and other tools as to what is correct and what is not. If you use the 4.0 framework, then you are automatically using C# 4.0; if you use the 1.1 framework, then you are using C# 1.1. To find what framework is installed on your computer, go to C:\Windows\Microsoft.NET\Framework and see what folders you do have there. E.g. v3.0 means .NET 3.  

For more information look here.


Friday, December 31, 2010 4:55 AM

Using code or from system?

if code then see below link:

http://geekswithblogs.net/lorint/archive/2006/01/30/67654.aspx

otherwise goto Control Panel --> Add or Remove Programs  there you can see Microsoft .net Framework Version


Friday, December 31, 2010 8:02 PM

Start -> All Programs -> Microsoft Visual Studio xxxx -> Visual Studio Tools -> Visual Studio xxxx Command Prompt

Then at the command prompt

csc /?