o
Information on all public methods in each class, like, the method name andreturn values (if any)
o
Information on every public parameter for each method like the parameter'sname and type
o
Information on public enumerations including names and values
o
Information on the assembly version (each assembly has a specific versionnumber)
o
Intermediate language code to execute
o
A list of types exposed by the assembly and list of other assemblies requiredby the assemblyImage of a Assembly file is displayed below.
OOP with VB
OOP Basics
Visual Basic was Object-Based, Visual Basic .NET isObject-Oriented, which meansthat it's a true Object-Oriented Programming Language. Visual Basic .NET supportsall the key OOP features likePolymorphism,Inheritance,Abstractionand
Encapsulation.It's worth having a brief overview of OOP before starting OOP withVB.
Why Object Oriented approach?
A major factor in the invention of Object-Oriented approach is to remove some of theflaws encountered with the procedural approach. In OOP, data is treated as a criticalelement and does not allow it to flow freely. It bounds data closely to the functionsthat operate on it and protects it from accidental modification from outside functions.OOP allows decomposition of a problem into a number of entities called objects andthen builds data and functions around these objects. A major advantage of OOP iscode reusability.Some important features of Object Oriented programming are as follows:
o
Emphasis on data rather than procedure
o
Programs are divided into Objects
o
Data is hidden and cannot be accessed by external functions
o
Objects can communicate with each other through functions
o
New data and functions can be easily added whenever necessary
o
Follows bottom-up approach
Concepts of OOP:
o
Objects
o
Classes
o
Data Abstraction and Encapsulation
o
Inheritance
o
Polymorphism
Leave a Comment