C# Corner

Resources  
  • Monitoring the Activities of Garbage Collection in .NET Using CLR ProfilerJan 05, 2015. In this article we learn about garbage collection and it's generations as well as how we can monitor it using the CLR Profiler.
  • Finalize in .NETFeb 18, 2014. We implement the Finalize method to release the unmanaged resources.
  • Demystify garbage collection: Part 6: Understand concept of generationAug 25, 2013. In today’s article we will understand the concept of generation more closely.
  • Demystify Garbage Collection in C#: Part 2Aug 14, 2013. In previous article we were talking about concept of Generation. When a fresh object get create it creates in generation 0 (Unless it is very large object, in .NET more than 85,000 bytes objects are consider as large object).
  • Demystify Garbage Collection in C#: Part 1Aug 12, 2013. In this series of article we will try to learn few general concept of garbage collection in C#.NET. And in upcoming article we will dig in dipper and try to learn few behind the screen concept.
  • Destructors in VB.NETNov 10, 2012. This article is about understanding the working concept of destructor in VB.NET.
  • .NET Best Practice No: 2:- Improve garbage collector performance using finalize/dispose patternAug 23, 2009. In this article we will first understand the concept of generations and then we will see the finalize dispose pattern. I am sure this article will change your thought process regarding destructor, dispose and finalize.
  • Garbage Collection in .Net frameworkAug 06, 2009. This article explains about the basics of Garbage collection in Microsoft .Net framework. I explained through code example.
  • Best Practices for handling exceptionsSep 18, 2007. This article shall explain some of the best practices when you deal with exceptions.
  • The C# Value Type and BoxingFeb 17, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications. One of the things we need to be aware of is how the Common Language Runtime (CLR) deals with references to value types.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IVJan 30, 2006. Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article we’ll look further into Garbage Collection (GC) and some ways to keep our applications running efficiently by using static class members.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IJan 14, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications.
  • Active Directory and Microsoft .NETOct 18, 2004. This article will emphasize in the benefits of using the namespace System.DirectoryServices.
  • Memory Management in .NETNov 17, 2003. This tutorial describes Memory Management in .NET.
  • Understanding Garbage Collection in the .NET FrameworkAug 09, 2002. In this article we will explore the Garbage Collection feature in the .Net framework and the activities required in applications to manage resources complementing the Garbage Collector.
  • Understanding Destructors in C# Jun 18, 2002. This article is about understanding the working concept of destructor in C#. I know you all may be thinking why a dedicated article on simple destructor phenomenon.
  • Understanding Destructors in C#Jun 18, 2002. This article is about understanding the working concept of destructor in C#. As you read this article you will understand how different is C# destructor are when compared to C++ destructors.
  • Constructor, Destructor and ILASMSep 20, 2001. I find C# a very interesting language and it also comes handy to analyze ILASM code.

About GC

Redirect to:

  • GC
  • This is a redirect from a title with another method of capitalisation. It leads to the title in accordance with the Wikipedia naming conventions for capitalisation, or it leads to a title that is associated in some way with the conventional capitalisation of this redirect title. This may help writing, searching and international language issues. For more information follow the category link.
    • Use this rcat to tag only mainspace redirects; when other capitalisations are in different namespaces, use {{R from modification}} instead.

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.
Download Free eBooks