C# Strings: Shubhangi Shinde
C# Strings: Shubhangi Shinde
C# Strings: Shubhangi Shinde
Shubhangi Shinde
public static int Compare( string strA, string strB, bool ignoreCase )
Compares two specified string objects and returns an integer that indicates their relative
position in the sort order. However, it ignores case if the Boolean parameter is true.
public static string Concat( string str0, string str1, string str2 )
Concatenates three string objects.
public static string Concat( string str0, string str1, string str2, string str3 )
Concatenates four string objects.
public void CopyTo( int sourceIndex, char[] destination, int destinationIndex, int
count )
Copies a specified number of characters from a specified position of the string object to a
specified position in an array of Unicode characters.
10
22
public static string Join( string separator, string[] value, int startIndex, int count )
Concatenates the specified elements of a string array, using the specified separator
between each element.
23
24
25
27
28
29
30
32
35
36