VB.NET - Class in dot net - Asked By Ralph Acido on 26-Feb-06 11:32 PM

Hello! im a new in vb.net.. anyone who can give me a lectures on how to create a class in vb.net, use a class.. what are the uses of a class.. so please lend me something that i can read so that i would know how to use class...

Definition of class - Asked By drammer _ on 26-Feb-06 11:43 PM

A class is an abstract data type containing data, a set of functions to access and manipulate the data, and a set of access restrictions on the data and on the functions. You can think of a class as a template or a blueprint for an object.

Example
A car is an example of a class. We know that a car has attributes, such as the number of wheels, the color, the make, the model, and so on. We know that it also has operations, including unlock door, open door, and start engine.

For in -depth discussions:
http://www.startvbdotnet.com/oop/default.aspx
browse through the sub-topics

Object Oriented Programming concept - Asked By Pankaj Sharma on 27-Feb-06 02:09 AM

Hi,

Class is a blue print,code representation of a real world entity. Real world entity has some attributes, utilites, events. Similiarly class can be used to represent those events, methods & encapsulate the attributes in form of private members exposed though use of properties.

Check this online book link for free read provided by Safari.

http://safari.oreilly.com/?XmlId=0-596-00386-2

You will definitely find this link extremely useful.

Bye

Some more links - Asked By Pankaj Sharma on 27-Feb-06 02:24 AM

Here are some links would help you in understanding OOPS with VB.NET

(Part-1)http://www.ondotnet.com/pub/a/dotnet/2001/09/25/oop_vb.html?page=3
(Part-2)http://www.ondotnet.com/pub/a/dotnet/2001/11/05/vbnetoop2.html

http://www.informit.com/articles/article.asp?p=25857

http://www.devx.com/SummitDays/HTML/15931

Bye
Creating a class in dot net - Asked By bharathi karedla on 07-Mar-06 01:25 AM
Hi,

Uses of class :

Maintenance of code by introducing modularity.
Encapsulation of internal complexities in code from end-users.
Reuse of code across applications.
Support for a single interface to implement multiple methods.

Try this book Titled:"Database programming using VB.Net and SQL server" (Secrets of developing an accounting package Revealed)


This book explains how we can create and use the class for developing a database application.

 
Regards
Bhar