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 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Next >> |
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.
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
Marking C# Code As ObsoleteMarking C# Code As Obsolete
As class libraries evolve over time, new functionality will be added and existing classes, methods and properties will be improved. Sometimes this means that older code is superseded and it is preferable that it is marked as obsolete and no longer used.
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# 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# Constructors and FinalizersC# Constructors and Finalizers
The fourth article in the C# Object-Oriented Programming tutorial examines constructors and finalizers. These special methods allow an object to be initialised on instantiation and to perform final actions before it is removed from memory.
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.
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# Constants and EnumerationsC# Constants and Enumerations
The forty-eighth part of the C# Fundamentals tutorial examines the use of constants and enumerations. These provide two methods of describing non-changing values using descriptive words rather than "magic numbers" to improve code readability.
C# Variable ScopesC# Variable Scopes
The forty-seventh part of the C# Fundamentals tutorial discusses the concept of variable scopes. The scope of a variable determines its lifetime and controls its visibility and availability to each of the methods within a program.
<< Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Next >> |