This ebook written in step-by-step tutorial format for beginners and students who want to learn programming Strings using C#.
In any programming language, to represent a value, we need a data type. The Char data type represents a character in .NET. In .NET, the text is stored as a sequential read-only collection of Char objects. There is no null-terminating character at the end of a C# string; therefore a C# string can contain any number of embedded null characters ('\0').
The System.String data type is used to represent a string. A string in C# is an object of type System.String.
The string class in C# represents a string.