I just have a bit of confusion about understanding a static link.
instance link expression that we can understand when I declare
Car myCar = new Car();
Car yourCar = new Car();
stack Managed Heap
myCar
YourCar
What if a case of a Static class? can i say this when i announce
staticClass.MyMethod( )
Managed Heap
staticClass
(Memory Address )
Update: Since the class is a plan and the objects are physical objects, does a static class occur when I declare staticClass.MyMethod or staticClass.MyField = value, do I interact directly with the heap? (Since an instance is not allowed for a static class).
source
share