.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Interview Question >> C# >> Post New Question Subscribe to Interview Questions

What are the correct version numbers for C#?

Posted By :Ravi Ranjan Kumar     Posted Date :June 29, 2011    Points :40   Category :C# 
These are the versions of C# known about at the time of this writing:

C# 1.0; released with .NET 1.0 and VS2002 (January 2002)
C# 1.2 (bizarrely enough); released with .NET 1.1 and VS2003 (April 2003). First version to call Dispose on IEnumerators which implemented IDisposable. A few other small features.
C# 2.0; released with .NET 2.0 and VS2005 (November 2005). Major new features: generics, anonymous methods, nullable types, iterator blocks
C# 3.0; released with .NET 3.5 and VS2008 (November 2007). Major new features: lambda expressions, extension methods, expression trees, anonymous types, implicit typing (var), query expressions
C# 4.0; released with .NET 4.0 and VS2010 (April 2010). Major new features: late binding (dynamic), delegate and interface generic variance, more COM support, named arguments and optional parameters
C# 5.0; unknown time frame. Anounced features as of PDC 2010: async programming, metaprogramming.

Reference Link :-

You can also find related Interview Question to What are the correct version numbers for C#?  below: 

What is Version Number in Assembly Manifest ?

A revision and build number in an assemblies is called Version Number.

There are Major and Minor Version number in an assembly. you can change this version number in assemblyinfo.cs file
usually version number looks like this in assemblyinfo.cs

The common language run time uses these numbers to enforce version policy. (More...)

Where is version information stored of an assembly ?

Version information is stored in assembly in manifest. (More...)

When was the First Version of .NET Released?

The first version of .Net that is 1.0 SDK was released on 15 Jan,2002. (More...)

What is the use of @@VERSION statement?

@@VERSION statement returns version, processor architecture, build date, and operating system for the current installation of SQL Server. (More...)

How do we generate random numbers?

Using Math.random() method we can generate random numbers between 0 to 9 (More...)

How do we know the version of the browser opened?

Using the code navigator.appVersion; (More...)

Consider the following code:

public class Example extends Thread
public void run()
System.out.println ("Hello");

public static void main (String args[])
new Example();

Select the correct option regarding the preceding code ?

1, The code will not compile.
2, The code will compile but will not execute.
3, The code will compile, execute, and display Hello as the output.
4, The code will compile, execute, but will not display anything.

Answer : 4 (More...)

Select the correct statement that sets the priority of a thread among a group of threads to maximum.

1, threadObj.getPriority(THREAD.MAX_PRIORITY);
2, threadObj.setPriority(MAX_PRIORITY);
3, threadObj.setPriority(THREAD.PRIORITY);
4, threadObj.setPriority(THREAD.MAX_PRIORITY);

Answer : 4 (More...)

Consider the following two classes:

public class Example1
public static int num;

public class Example2
public static void main(String[] args)

Select the correct option regarding the preceding classes.?

1, The Example2 class will execute without any output.
2, The Example2 class will execute with the following output:5

3, The Example2 class will not compile as it does not calls the constructor of the Example 1 class.
4, The Example2 class will not execute as it does not calls the constructor of the Example 1 class.

Answer : 2 (More...)

How can we find out odd and even numbers?

int input=50;

if(input ==1)
response.write("this number is odd number");
response.write("this number is even number");
} (More...)

Which command using Query Analyzer will give you the version of SQL server and operating system?

SELECT SERVERPROPERTY ('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition'). (More...)

When was the first version of .NET released?

The final version of the 1.0 SDK and runtime was made publicly available around 6pm PST on 15-Jan-2002. At the same time, the final version of Visual Studio.NET was made available to MSDN subscribers. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend