What is a static field?



What is a static field?..

Answer / Ajay Vikram

A static field, also known as a class-level variable or shared variable, is a variable that belongs to the type rather than an instance of the type. Static fields are shared among all instances of the class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

In c#, what will happen if you do not explicitly provide a constructor for a class?

1 Answers  


Define thread?

1 Answers  


Does C# supports multi-dimensional arrays ?

4 Answers   Microsoft,


If c# destructors are so different to c++ destructors, why did ms use the same syntax?

1 Answers  


How?s method overriding different from overloading?

3 Answers  


What is the predicate of a sentence?

1 Answers  


What do u mean by thread safe?

1 Answers  


Can a sealed class be used as a base class?

1 Answers  


What is difference between internal and protected internal in c#?

1 Answers  


Why we need get set property in c#?

1 Answers  


What is the default value of guid in c#?

1 Answers  


What does namespace mean?

1 Answers  


Categories