static method

  • Thread starter Thread starter Alberto
  • Start date Start date
A

Alberto

In a console app, for example, that uses the System namespace, means that
all the static classes defined in System are loaded in memory?

Thank you
 
In a console app, for example, that uses the System namespace, means that
all the static classes defined in System are loaded in memory?

Assemblies and the types within them are loaded when first needed.
Namespaces don't matter here, they can span multiple assemblies.
Neither does it matter whether a class is static or not.


Mattias
 
Back
Top