M
Mike
This question has been in the back of my head for some time, so I'll ask.
If I have a method that has 200 Lines of code and I create 1000 instances of
the class to which the method belongs, are 1000 copies of the compiled code
in that method created in memory or is only the raw data for each of the
1000 classes stored in memory?
Does this also apply to the code in properies with get set acessors?
How does a static member or property differ concerning memory usage in the
above example?
Thanks,
Mike
If I have a method that has 200 Lines of code and I create 1000 instances of
the class to which the method belongs, are 1000 copies of the compiled code
in that method created in memory or is only the raw data for each of the
1000 classes stored in memory?
Does this also apply to the code in properies with get set acessors?
How does a static member or property differ concerning memory usage in the
above example?
Thanks,
Mike