Rules About Arrays
For arrays, CLS rules are simple:
• Items within arrays must be CLS-compliant types.
• Arrays must have fixed length greater than zero.
• Arrays must be zero-based. (This is mostly a rule for compilers.)
Summary
In this chapter you learned several important concepts about object-oriented programming with Visual Basic 2010. You saw how classes are the most important item in the object-oriented programming; you learned how to declare classes and how to expose members from classes, such as methods, properties, and fields. Summarizing these features, you may remember how fields are the real state of objects and how properties are a way for ruling access to fields from the external world. You can also remember how methods are procedures ...
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