webmaster442 / ultimatedotnetcheatsheet

The ultimate .NET cheat sheet
https://webmaster442.github.io/ultimatedotnetcheatsheet/
Creative Commons Attribution Share Alike 4.0 International
18 stars 5 forks source link

Next #12

Closed webmaster442 closed 5 months ago

webmaster442 commented 5 months ago
#direction: right

[Object|base class for every .NET type] <:- [ValueType|Base class for structs
Can't create an instance directly with new()] <:- [Enum|Base class for enum types
Can't create an instance directly with new()]
[Object] <:- [DynamicObject|Base class for dynamic objects
Can't create an instance directly with new()]

[ValueType] <:- [Nullable<T>|Base class for nullable value types]
webmaster442 commented 5 months ago
#direction: right
[Object] <:- [ValueType] <:- [Enum]
[Object] <:- [Array]
[Object] <:- [DynamicObject]
[Object] <:- [ExpandoObject]

[DynamicObject|
Provides a base class for specifying 
dynamic behavior at run time.|
❗This class must be inherited from\;
you cannot instantiate it directly.]

[ExpandoObject|
Represents an object whose members 
can be dynamically added
and removed at run time.]

[Array|
Provides methods for creating, manipulating, 
searching, and sorting arrays, 
thereby serving as the base class  for 
all arrays in the common language runtime.|
⚠️ You cannot derive from
this special class]

[ValueType|
Provides the base class
for value types.for enumerations.|
⚠️ You cannot derive from
this special class]

[Enum|
Provides the base class
for enumerations.|
⚠️ You cannot derive from
this special class]

[Object|
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.]