Programming Strings using C#

Programming Strings using C#

Mahesh Chand

This ebook written in step-by-step tutorial format for beginners and students who want to learn programming Strings using C#.

  • Published on Jun 25 2012
  • Pages 20
  • Downloaded 16.7k
  • Type PDF
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 43.2k
  • 0
 
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.

Image Loading...