摘要:
public class BackCard { public string UserName { get; set; } public string id { get; set; } public void CunQian() { } public void Overdraft() { } } // 阅读全文
摘要:
public TypeCode GetTypeCode() { return TypeCode.String; } 阅读全文
摘要:
// Determines whether two Strings match. [Pure] public static bool Equals(String a, String b) { if ((Object)a==(Object)b) { return true; } if ((Object 阅读全文
摘要:
// Determines whether a specified string is a suffix of the the current instance. // // The case-sensitive and culture-sensitive option is set by opti 阅读全文
摘要:
[ComVisible(true)] public enum TypeCode { Empty = 0, Object = 1, DBNull = 2, Boolean = 3, Char = 4, SByte = 5, Byte = 6, Int16 = 7, UInt16 = 8, Int32 阅读全文
摘要:
[Pure] public bool Contains( string value ) { return ( IndexOf(value, StringComparison.Ordinal) >=0 ); } [Pure] [System.Security.SecuritySafeCritical] 阅读全文
摘要:
[Pure] public int CompareTo(Object value) { if (value == null) { return 1; } if (!(value is String)) { throw new ArgumentException(Environment.GetReso 阅读全文
摘要:
// Method required for the ICloneable interface.IClonable接口所需的方法。 // There's no point in cloning a string since they're immutable, so we simply return 阅读全文
摘要:
[Pure] public static bool IsNullOrWhiteSpace(String value) { if (value == null) return true; for(int i = 0; i < value.Length; i++) { if(!Char.IsWhiteS 阅读全文
摘要:
[Pure] public static bool IsNullOrEmpty(String value) { return (value == null || value.Length == 0); } 阅读全文