Re: Performance on string destruction

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi SevDer,

I think setting the member to null is just fine. It will release the handle
to the string object, and leave it to GC.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

.



Relevant Pages

  • Delayed quote expansion
    ... it eludes me. ... How can one have a string object like this... ... Prev by Date: ...
    (comp.lang.ruby)
  • Re: Serialization.
    ... How should this change to avoid the exception? ... > erymuzuan mustapa ... > Kevin Burton wrote: ... >> Member 'PPRP602AType.RPLY_HEADER' hides inherited member ...
    (microsoft.public.dotnet.framework.webservices)
  • & string concat operator usasge
    ... preferrable to use a class such as Karl Peterson's cStringBuilder instead ... Help in vbdotnet says to use & to build strings ... I was expecting the string object to have a .Append method or similar but ... Access of shared member, constant member, enum member or nested type through ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Create a email addres question!
    ... Kevin has provided you two ways for your goal. ... Add a Distribution Groups, then you can follow the instruction to configure ... you can create a public folder ... delivered to each member of the group. ...
    (microsoft.public.windows.server.sbs)
  • Re: Help a newbie with method.method?
    ... Calling string.Trimwill return another string object. ... The string object also has a ToUpper() method returning yet another string, ... A member, a property and a method result could any or all of them be objects, in turn having their own members, properties and methods. ... Dot is simply a binary operator, ...
    (microsoft.public.dotnet.languages.csharp)