Pergunta de entrevista da empresa Ankura

What does the keyword static mean?

Respostas da entrevista

Sigiloso

12 de mar. de 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.

Sigiloso

13 de mar. de 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).