Garbage collector in .Net?

Discussion in 'ASP .Net' started by John Smith, Mar 27, 2008.

  1. John Smith

    John Smith Guest

    Does .Net has garbage collector or I have to free (Set myVariable = Nothing)
    each object I created with "New"?
     
    John Smith, Mar 27, 2008
    #1
    1. Advertising

  2. John Smith

    Mick Wilson Guest

    Mick Wilson, Mar 27, 2008
    #2
    1. Advertising

  3. John Smith

    Aidy Guest

    > Does .Net has garbage collector

    Yes.

    > or I have to free (Set myVariable = Nothing) each object I created with
    > "New"?


    No.
     
    Aidy, Mar 27, 2008
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Tillie

    Garbage Collector Debugging

    Rob Tillie, Aug 15, 2003, in forum: ASP .Net
    Replies:
    11
    Views:
    1,789
    JerryK
    Aug 18, 2003
  2. Pyramis
    Replies:
    0
    Views:
    427
    Pyramis
    Jan 25, 2004
  3. Colt

    Garbage collector problem

    Colt, Nov 15, 2003, in forum: Java
    Replies:
    9
    Views:
    718
    Tim Ward
    Nov 18, 2003
  4. bart59
    Replies:
    0
    Views:
    520
    bart59
    Jun 17, 2004
  5. shiretu

    Strange .NET garbage collector problem

    shiretu, Jan 10, 2006, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    129
    shiretu
    Jan 10, 2006
Loading...

Share This Page