BlackWaspTM

This web site uses cookies. By using the site you accept the cookie policy.This message is for compliance with the UK ICO law.

<< Previous | 1 | 2 | 3 | Next >> |
Object-Oriented Programming ConceptsObject-Oriented Programming Concepts
This is the first in a series of articles describing the use of object-oriented programming techniques as implemented by the C# programming language. This series follows the C# Fundamentals tutorial that beginners are advised to read first.
Creating a Simple Class in C#Creating a Simple Class in C#
The second article in the C# Object-Oriented Programming tutorial describes how classes are created in C# and how behaviour, in the form of publicly visible and private, hidden methods can be added. This demonstrates some of the uses of encapsulation.
C# Class PropertiesC# Class Properties
The third article in the C# Object-Oriented Programming tutorial expands upon the previous creation of simple classes by introducing properties. Properties of a class allow instantiated objects to have state with each object controlling its own data.
C# Constructors and DestructorsC# Constructors and Destructors
The fourth article in the C# Object-Oriented Programming tutorial examines constructors and destructors. These special methods allow an object to be initialised on instantiation and to perform final actions before it is removed from memory.
C# Static BehaviourC# Static Behaviour
The fifth article in the C# Object-Oriented Programming tutorial describes the use of static methods, properties and constructors. These behaviours are accessible from classes without the requirement to instantiate new objects.
C# Method OverloadingC# Method Overloading
The sixth article in the C# Object-Oriented Programming tutorial explains method overloading. This technique permits multiple methods to be declared using the same name but with different parameters. Method overloading is our first look at polymorphism.
C# Constructor OverloadingC# Constructor Overloading
The seventh article in the C# Object-Oriented Programming tutorial extends the previous description of method overloading with constructor overloading. Using this technique, multiple constructors can be created to choose from during object instantiation.
C# Basic Operator OverloadingC# Basic Operator Overloading
The eighth article in the C# Object-Oriented Programming tutorial describes a third overloading technique. By overloading the functionality of operators, the operation of the standard operators including + and - can be defined for new classes.
Overloading True and False in C#Overloading True and False in C#
The ninth article in the C# Object-Oriented Programming tutorial continues the discussion of operator overloading. In this article, the overloading of the true and false operators is described, allowing an object to be used in conditional processing.
C# Logical Operator OverloadingC# Logical Operator Overloading
The tenth article in the C# Object-Oriented Programming tutorial continues the discussion of operator overloading. In this article, the overloading of the logical operators is described including how to enable the short-circuit Boolean logical operators.
<< Previous | 1 | 2 | 3 | Next >> |