G
Guest
Yes, that does give me some more ideas. I think I was just going about this all wrong before. Thank you very much for your help - I appreciate it
-Tim
-Tim
Scott M. said:...Or, maybe he should write the string handling in an efficient way and see
if it works without GC.Collect? IMHO (and in the humble opinion of a great
many developers including those at MS), calling GC.Collect should be a last
resort and not a normal part of the programming process.
up until it gets assigned to Textbox1.Text, at which point it becomes a string
(a very long one, by the sound of it...)
The cumulative result of doing that assignment 22,000 times, or even
23,000 times, is.. a lot of orphaned string references coming from Textbox
itself to be cleaned up - even with StringBuilder.