16.14. Char Methods
Visual Basic provides a type called a structure that is similar to a class. Although structures and classes are comparable in many ways, structures represent value types. Like classes, structures include methods and properties. Both use the same access modifiers (such as Public, Protected and Private) and access members via the member access operator (.). Classes are created by using the keyword Class, but structures are created using the keyword Structure.
Many of the primitive types that we have used in this book are actually aliases for different structures. For instance, an Integer is defined by structure System.Int32, a Long by System.Int64 and so on. These structures derive from class ValueType, which in turn derives ...
Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.