Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition
by Paul J. Deitel - Deitel & Associates, Inc., Harvey M. Deitel - Deitel & Associates, Inc.
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access