Test your technical skills online, appear in Virtual Interview and be ready for job!
Twitter Twitter LinkedIn YouTube Google
Be Interview ready ! | Search
Make friends on DotNetFunda.com and expand your network!
Winners

Win Prizes

Announcements
Like us on Facebook
Sponsor
Top Articles Author
Wed, 23-Apr-2014 Authors
Goud.Kv
200
All Time Authors
Rajkatie
20480
Vishal@Neeraj
19600
Bharathi Cherukuri
18040

Latest members | More ...


(Statistics delayed by 5 minutes)

class Program
{
static void Main(string[] args)
{
Console.WriteLine(clsNewStatic.count);
clsNewStatic.count = 20;
Console.WriteLine(clsNewStatic.count);
clsNewStatic t = new clsNewStatic();
Console.WriteLine(clsNewStatic.count);
}
}

public class clsNewStatic
{
public static int count = 10;
}

 Posted by Santosh.impossible on 1/19/2011 | Category: C# Interview questions | Views: 4077 | Points: 40
Select from following answers:
  1. 10 20 20
  2. 10 10 10
  3. 20 20 20
  4. 20 20 10

Show Correct Answer


Source: Interview | Asked In: Many Interviews | Alert Moderator 

Found interesting? Add this to:




Comments or Responses

Login to post response.

Comments / Responses
Select text & click toolbar to format. Formatting appears in viewmode only. HTML Tags are not allowed.
Bold Italic Underline Paragraph Title Code  Link 
 Wait ... Processing ..... please wait.