Glossary:Definition - Class

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
 Term Class
 Definition  A class groups related variables and functions in object-oriented programming (OOP). A class defines a collection of encapsulated instance variables and methods—functions—, optionally including implementations of those types and a constructor and destructor. Properties contain the data exposed by the class. Behaviors are the functionality exposed as defined by public methods—member functions—and events. A class describes both the properties and behaviors of objects. A class is not an object; rather, it is used to instantiate an object. A class is like a template for defining new types.


A C# class is declared with the class keyword.

 See also Abstract class, Constructor, Destructor, Interface, Structure
You may edit this definition to improve or extend it.

Online Dictionary of Visual C# .NET Programming
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0-9
a free glossary of C# .NET terminology from C# Online.NET edit

Personal tools