String interning in C# with different code examples

According to Eric Lippert article on MSDN “If you have two identical string literals in one compilation unit, then the code we generate ensures that only one string object is created by the CLR for all instances of that literal within the assembly. This optimization is called string interning.” So... [Read More]
Tags: development