The .NET Framework provides a garbage-collected heap for the C# programming language, but this does not negate the benefits of careful observation and optimizations of memory usage in C# programs. In fact, many programs written in C# have memory problems. You must be careful to unroot references to objects, so the GC can release them.
Array Memory Usage
Bool Array Usage and Allocation
Decimal Memory
Garbage Collection Performance
Garbage Collection Visualizations
GC.GetTotalMemory Usage
Memory Hierarchy (ns)
Memory Usage, Measuring Reference and Value Types
Nullable Memory Usage
SQLite vs. SQLCE Memory Usage
Stack Overflow (StackOverflowException)
String Memory