How to: Optimize the memory usage with strings(dotnetfacts.blogspot.com)
submitted by
eugenciuta(715) 4 years, 1 month ago
System.String type is used in any .NET application. We have strings as: names, addresses, descriptions, error messages, warnings or even application settings. Each application has to create, compare or format string data. Considering the immutability and the fact that any object can be converted to a string, all the available memory can be swallowed by a huge amount of unwanted string duplicates or unclaimed string objects. Now let's see how a string object should be handled to preserve memory.
|category: Tips & Tricks
|Views: 56
tags:
string practices preserve Optimization Tips another
Everyones tags:
Your Tags: