This site is free of programming source codes. All you have to do is read, follow instructions and download the file.
Linggo, Marso 23, 2014
Deeper Understanding to VB.NET Class
Classes are essential to VB.NET programs. They are the building blocks of our programs. A Class is a reference type—it is allocated on the managed heap. It can have Functions and Subs, and also data members—this includes fields. It is a container for data and code. The data within the class can be accessed with properties. The code is referred to as methods.
The best thing about OOP is that it allows you to group data into discrete variables contained within a class in your program. This data is separate and distinct from any other class in your application. No class can interfere with the data in any other class without going through a specific interface on that class.
Each object defines its functionality as a set of properties and methods that it will respond to. Other code can call these methods on the object and have them perform some behavior and use the properties to retrieve or change some information. In this way, code cannot affect the information or processes of other objects directly. As you build a class, you will see how to build this functionality using properties and methods.
This is my sample laboratory activity program for my students enrolled in VB.net course.
Mag-subscribe sa:
I-post ang Mga Komento (Atom)
Walang komento:
Mag-post ng isang Komento