Related questions
How to get object size in memory?
I need to know how much bytes my object consumes in memory (in C#). for example how much my Hashtable, or SortedList, or List<String>.
How to use StringBuilder wisely?
I am little confused about using StringBuilder class, first:
A string object concatenation operation always creates a new object from the existing string and the new data. A StringBuilder object maintains a buffer to accommodate the concatenation of new data. …
Reducing memory usage of .NET applications?
What are some tips to reduce the memory usage of .NET applications? Consider the following simple C# program.
class Program
{
static void Main(string[] args)
{
Console.ReadLine();
}
}
Compiled in release mode for x64 and running outside Visual Studio, the task …