1.int long float double 分别是几个字节
左到右范围从小到大:byte->short->int->long->float->double
各自所占字节大小:1字节、2字节、4字节、8字节、4字节、8字节
2.System.Object四个公共方法的申明
namespace System
{
//
// 摘要:
// Supports all classes in the .NET class hierarchy and provides low-level services
// to derived classes. This is the ultimate base class of all .NET classes; it is
// the root of the type hierarchy.
public class Object
{
//
// 摘要:
// Initializes a new instance of the System.Object class.
public Object();
//
// 摘要:
// Allows an object to try to free resources and perform other cleanup operations
// before it is reclaimed by garbage collection.
~Object();
//
// 摘要:
// Determines whether the specified object instances are considered equal.
//
// 参数:
// objA:
// The first object to compare.
//
// objB:
// The second object to compare.
//
// 返回结果:
// true if the objects are considered equal; otherwise, false. If both objA and
// objB are null, the method returns true.
public static bool Equals(Object? objA, Object? objB);
//
// 摘要:
// Determines whether the specified System.Object instances are the same instance.
//
// 参数:
// objA:
// The first object to compare.
//
// objB:
// The second object to compare.
//
// 返回结果:
// true if objA is the same instance as objB or if both are null; otherwise, false.
public static bool ReferenceEquals(Object? objA, Object? objB);
//
// 摘要:
// Determines whether the specified object is equal to the current object.
//
// 参数:
// obj:
// The object to compare with the current object.
//
// 返回结果:
// true if the specified object is equal to the current object; otherwise, false.
public virtual bool Equals(Object? obj);
//
// 摘要:
// Serves as the default hash function.
//
// 返回结果:
// A hash code for the current object.
public virtual int GetHashCode();
//
// 摘要:
// Gets the System.Type of the current instance.
//
// 返回结果:
// The exact runtime type of the current instance.
public Type GetType();
//
// 摘要:
// Returns a string that represents the current object.
//
// 返回结果:
// A string that represents the current object.
public virtual string? ToString();
//
// 摘要:
// Creates a shallow copy of the current System.Object.
//
// 返回结果:
// A shallow copy of the current System.Object.
protected Object MemberwiseClone();
}
}