In this article, we will understand how to work with strings in C#, use string class in C# and finally used learn how to use the String Builder class in C#.
In C# strings are created by enclosing a series of characters in double quotation marks, these series of characters can be letters, numbers, and symbols. A string can also contain no characters – just place double quotation marks next to each other “” – know as an empty string.
“This is my article on Strings in c#”
“Learn to use the String Builder class”
In C# we can work with strings as if they are data values, but actually, they are an object of the string class.
example: string empName = “Smith”; it looks like we have declared a variable of string type, but actually its an object of the string class.