A Simple Class showing class definition syntax : Class Definition : Class C# Examples
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
C# Examples
»
Class
»
Class Definition
»
A Simple Class showing class definition syntax
class MyClass { int simpleValue = 0; }
HTML code for linking to this page:
Related in same category :
Class Fundamentals
The General Form of a Class
A simple, but complete, C# class.
A Simple Class with member fields and constrctor
Declare an object of type Building
Create two objects for one class
Copy a class
Encapsulation example
Class can contain class
Inherited member methods and fields
Reference to Base Class
Implement multiple interfaces
Extends class and implements interface
C# Examples
Class
»
Class Definition
Class Definition
Class as Parameter
Class Instance
Interface
Object Reference
Interface hierarchy
Member Method
Explicit Interface Implementation
Member Variable
Const
Method Parameter
Readonly
Method Return
Sealed
Method Overload
Properties
Method Recursion
Virtual Properties
This
Indexer
New
Two Dimensional Indexer
Null
Static Class
Constructor
Static constructor
Destructor
Static field
Access Modifier
Static method
Private
Static Properties
Public
System.Object
Protected
ToString
Internal
Hash Code
Class hierarchy
MemberwiseClone
Derived Class
ICloneable
Base Class
ICustomFormatter
Virtual
IDisposable with using
Override
IDisposable
Base
IEquatable
Name Hiding
IFormattable
Abstract Class
IEnumerable
Nested Class
IEnumerator
Partial Class
Class Serialization
Cast
ADO.Net
Assembly
Attribute
Class
Data Structure
Data Type
Date Time
Delegate
Design Patterns
Development
Directory Services
Drawing 2D
File Directory Stream
Generic
GUI Windows Forms
I18N Internationalization
Language Basics
Network
Operator
Operator Overload
Preprocessing Directives
Reflection
Regular Expression
Security
Statement
String
Struct
Thread
Unsafe
Windows
XML