July 2003
Intermediate to advanced
736 pages
16h 35m
English
Every type in .NET (including types like Integer as well as the EventLog class) is derived from the Object class. This means that every type has Sub New, Equals, GetHashCode, GetType, ReferenceEquals, ToString, Finalize, and MemberwiseClone methods. What isn't obvious are the differences between types like Integer and EventLog.
.NET has a Common Language Specification (CLS). The Visual Basic types you may be familiar with from VB6 don't exactly exist in .NET proper. Yes, there is an Integer type in VB .NET, but it is based in the System.Int32 value type defined in the CLS. Of course, having made it this far, you already know that you can use most of the types you are accustomed to; the compiler will convert the ...
Read now
Unlock full access