referencing objects and memory consumption

  • Thread starter Thread starter Faktor_one
  • Start date Start date
F

Faktor_one

Does referencing objects increase memory consumption?
For example, if I call public function in one form from another form and
give "this" as argument, is it just pointing to the form or does it create a
copy of it in the memory?
Thx
 
Does referencing objects increase memory consumption?

No

For example, if I call public function in one form from another form and
give "this" as argument, is it just pointing to the form

Yes



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top