0

What does it mean by types of. NET?

I am new to. Net i just encounter with types of. net i really want what the hell is this

22nd Nov 2020, 1:46 PM
Mysterious
Mysterious - avatar
3 Answers
+ 7
Types actually apply to the class type of an object instance in the CLR. Everything in .NET has a type and everything in .NET inherits from System.Object. This includes simple types, which are referred to as primitive data types in other languages as well as as function types (a.k.a. delegate types), which apply to methods, events, lambdas, etc. Types can also be categorized by how they are passed to methods by default. These are known as Value Types and Reference Types. In simplified terms... think of Type as the declaration type for any given variable. Examples are: - string / int / bool - List / XmlNode / Person / Animal - ClickEvent / DaysEnum / Date I've mixed a few in the list above as examples as well.
22nd Nov 2020, 4:01 PM
David Carroll
David Carroll - avatar
+ 1
Thanks guys
23rd Nov 2020, 12:46 PM
Mysterious
Mysterious - avatar