Search
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Articles Author
Mon, 28-Jul-2014 Authors
All Time Authors
Vishal@Neeraj
28480
Rajkatie
20600
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: 4377 | Points: 40

Select from following answers:
  1. 10 20 20
  2. 10 10 10
  3. 20 20 20
  4. 20 20 10
  5. All Above

Show Correct Answer


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

Found interesting? Add this to:



Comments or Responses

Login to post response