The Root of all Classes && struct: Object

All C# classes, of any type, are treated as if they ultimately derive from System.Object. Interestingly, this includes value types!

Object provides a number of methods that subclasses can and do override. These include Equals( ) to determine if two objects are the same, GetType( ), which returns the type of the object , and ToString( ), which returns a string to represent the 

posted @ 2018-09-29 10:39  何人之名  阅读(93)  评论(0)    收藏  举报