Advertisement



< Prev
Next >



C# String






String is a nothing but a sequence of characters within a pair of double quotes. For example - "Hello World" is a String literal, which is actually an object of String class. String is a built-in data type in C#.

Note: The String class can also be referred to as System.String or string, but in our tutorials, we will refer to String class as String.




How a String object is created?


A String object can be constructed in various ways and some are explained below -:

Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement