Programming Strings using C#

By Mahesh Chand on Jun 25, 2012
This ebook written in step-by-step tutorial format for beginners and students who want to learn programming Strings using C#.
  • 20 Pages
  • 15051 Downloaded
  • PDF
Download This E-Book Now

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. 


Comment Using




Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.