Domanda di colloquio di Ankura

What does the keyword static mean?

Risposte di colloquio

Anonimo

12 mar 2018

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.

Anonimo

13 mar 2018

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).