Wednesday 25 September 2013

Static variable in C#?

Que:-What is Static variable in C#?

Ans:-A field declared  with Static modifier is called static variables.A Static variable come into existence before execution of the static constructor for this containing type.

The initial value of static variable is default value.

No comments:

Post a Comment