C# Strings

In C#, string is an object of System.String class that represent sequence of characters.

- String are an array of characters they are stored as a sequential read only collection of Char objects in the system internally.

- String don't contain null characters in the end.

- String Methods

  1. Clone ()

  2. Copy

  3. Equal

  4. Replace

  5. ToLower

  6. ToUpper

  7. Join

  8. Concat.

 

Comments

Popular posts from this blog

C# | Association, Aggregation and Composition

Throw vs Throw ex in C#

C# Extension Method