String in C# String is a keyword that is use to represent a sequential collection of characters that is called a text and the string is an object of System.String type. We use string keyword to create string variables to hold the particular text which is a sequential collection of characters. The string variables can hold any kind of text and by using Length property we can know the number of characters the string variable is holding. Declaration and Initialization of string variable in C# The following are the different ways of declaring and initializing string variables using string keyword. // Declare without initializing. string str1; // Declaring and Initial...
Csharp Naija is a blog that teaches C# programming using a practical guide. C# Nigeria is here to guide interested individual to the world of software Engineering.