Submitted Questions

  • Garbage Collection in .Net

    When we say that GC works on "heap" memory then how "stack" memory gets freed or deallocated? Can someone tell me the algorithm used by GC to free the memory?

    Smith

    • Jan 22nd, 2012

    Garbage collection removes the objects from heap after certain time.

    siva

    • Jan 6th, 2012

    .Net Frameworks -Memory Management Garbage Collector which manages allocation and release of memory from application.Now developers no need to worry about memory allocated for each object which is cre...

  • When to use string classes

    when we have string builder which are mutable why we need immutable string classes in C#.

    Denial

    • Aug 14th, 2013

    String: String are immutable that is every time you make changes to a string object, the string is destroyed and a new string is created with modifications you applied to previous string. All this is ...

    Sivavt

    • Mar 25th, 2012

    String is immutable, meaning, if there is any change in the string value, run time allocates new memory & assign it to the string reference. For the programmer, it looks like the same string but inter...