C # common functions → general articles
Reprint Address →http://www.cnblogs.com/superfang/archive/2008/07/02/1233706.html
I used to be "original address" → later found inaccurate some are reproduced others but do not write the original address → or "reprint address" point of accuracy →
2, int32.parse (variable) int32.parse (constant) character conversion to 32-bit digital type
Delete a node
21, string variables. Replace (substring, replace with) string substitution such as: string str= China; str=str. Replace (country, Central); Change the national character to the central character Response.Write (str); The output is central again as: (This very practical) string str= this is the script; str=str. Replace (, Fontfont); Replace the left angle bracket with the font
22, Math.max (I,J) Take I and J maximum value such as int x=math.max (5,10);
28. Reverses the order of the elements in the entire one-dimensional array. har[] Chararray = "ABCDE". ToCharArray (); Array.reverse (Chararray); Console.WriteLine (New String (Chararray));
29. Determine if the nth character in a string is an uppercase string str= "ABCEEDDDD"; Response.Write (Char.isupper (str,3));
C # Common functions--general articles