December 2012
Intermediate to advanced
612 pages
14h 4m
English
![]()
This chapter will discuss the string data type in Microsoft .NET Framework using C# language. First I will show how the CLR manages to instantiate a string in .NET. I will then discuss string immutability through which CLR ensures that when a string is created, it can’t be changed, and examine its contents, chaining operations in string, and various concatenation techniques used in .NET Framework for the string.
Throughout the chapter, I reference StringBuilder, which is a class that can be used to generate string efficiently. It can also be used to manipulate string, such as append, insert, or remove string. ...