例如:
String 类的方法
string str;
1.public static bool IsNullOrEmpty( string value )
指示指定的字符串是否为 null 或者是否为一个空的字符串。
1.1如果类的方法下有static,使用方法:string.IsNullOrEmpty();
2.public string Replace( string oldValue, string newValue )
把当前 string 对象中,所有指定的字符串替换为另一个指定的字符串,并返回新的字符串。
2.1如果没有static,使用方法:str.Replace();