字符串内部记忆

问题描述:

哪里有关于字符串实习的好资源. .我怎么知道我的应用程序是否适合进行字符串实习以帮助减少内存占用?

where is a good resource on string interning . . how do i know if my app is a good candidate for string interning to help with memory footprint?

实习是由运行时自动完成的.

Interning is done automatically by the runtime.

http://msdn.microsoft.com/en -us/library/system.string.isinterned.aspx