1、The string type represents a sequence of zero or more Unicode characters. string is an alias for String in the .NET Framework.
2、Namespace: System
3、Assembly: mscorlib (in mscorlib.dll)
4、public sealed class String : IComparable, ICloneable, IConvertible, IComparable<string>, IEnumerable<char>, IEnumerable, IEquatable<string>;
【备注】:从上面的第四条可以看出来类String的修饰符是sealed;是一个密闭类,故不可以被继承; |