View Single Post
Old 08-19-2007, 11:45 PM   #3 (permalink)
Naytron
Newbie
 
Join Date: Mar 2005
Age: 22
Posts: 54
Exclamation

Quote:
Originally Posted by Lokai View Post
Objects, Classes, Constructors, and Inheritance

Objects:

Property:

Properties are the bits and pieces that describe the basic parts of a class. Properties have a datatype, a variable name, and a value. They can also have an accessibility defined. If not specified, the accessibility is Private. It can also be Public, or Protected. Properties are defined, and usually initialized in the beginning of the definition of a class, and serve to create a "description" of the class. For example:

Code:
 
private int Size = 4;
int Color = 302;
string Name = "TestClass";
You are probably talking about Fields of the class.
Properties are actually big different from the fields 8)
Naytron is offline   Reply With Quote