Ankura Interview Question: What does the keyword static ... | Glassdoor.co.in

Interview Question

.NET Developer Interview Washington, DC (US)

What does the keyword static mean?

Answer

Interview Answer

2 Answers

0

In the worst of conditions, it would mean, stuck in a rut, unable to make forward progress. In the best of conditions, is there is best for the word static, it would mean the status quo.

AM on 12-Mar-2018
0

static in .NET framework means a constant function/variable, for instance say you had a static function within a class that incremented for every instance of that class. If you where to create 2 instances of that class, despite the static function being located within each method it would output 2 if called (you must call from main).

JS on 13-Mar-2018

Add Answers or Comments

To comment on this, Sign In or Sign Up.