P
Paul
Hi all,
I'm still learning about dispose()'ing of resources and i'm curious if
there is anything I should do in the following circumstance:
rtbBrowseEntryBody.SelectionFont = new Font(<font info>);
By using the 'new' keyword i'm allocating memory. Should I do anything
to free this memory after the section which needs it is finished? Or
should it just be left to GC? Or should I not be using such statements,
but something else.
Any help would be appreciated,
Paul
I'm still learning about dispose()'ing of resources and i'm curious if
there is anything I should do in the following circumstance:
rtbBrowseEntryBody.SelectionFont = new Font(<font info>);
By using the 'new' keyword i'm allocating memory. Should I do anything
to free this memory after the section which needs it is finished? Or
should it just be left to GC? Or should I not be using such statements,
but something else.
Any help would be appreciated,
Paul