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# StructuresC# Structures
The twenty-second, and final, part of the C# Object-Oriented Programming tutorial reviews the use of structures. Structures provide similar functionality to classes but when instantiated, resultant variables are value types, rather than reference types.
C# Value Types and Reference TypesC# Value Types and Reference Types
C# permits the use of value types, such as enumerations and structures, and reference types, such as objects instantiated from classes. Value types hold their data directly and can be easily copied. Reference types add a layer of indirection.
C# InterfacesC# Interfaces
The twenty-first part of the C# Object-Oriented Programming tutorial completes the investigation of polymorphism in the C# programming language. This instalment describes the use of interfaces to determine required members in classes that implement them.
C# Abstract ClassesC# Abstract Classes
The twentieth part of the C# Object-Oriented Programming tutorial investigates the use of abstract classes. These are special classes that are designed to be used only as base classes for inheritance. They do not permit the instantiation of objects.
Trimming Non-Whitespace Characters from StringsTrimming Non-Whitespace Characters from Strings
Often string data is received through a user interface or integration system. This data may include additional characters to the main information, either as a prefix or suffix. Using the String class' Trim method, these unwanted characters can be removed.
C# Inheritance and ConstructorsC# Inheritance and Constructors
The nineteenth part of the C# Object-Oriented Programming tutorial continues the discussion of inheritance. Constructor and destructor functionality is not inherited by subclasses but these can still use the constructors defined in their base class.
Bit Field EnumerationsBit Field Enumerations
When you need to store multiple Boolean statuses for a single item, you may elect to place each on/off attribute into a bit field. If you use an enumeration marked with the FlagsAttribute class, the .NET framework will assist with some of the operations.
C# InheritanceC# Inheritance
The eighteenth part of the C# Object-Oriented Programming tutorial begins the discussion of the use of inheritance. This is a powerful object-oriented concept that permits the creation of hierarchical groups of classes that share common functionality.
Convert String Arrays to Comma-Separated StringsConvert String Arrays to Comma-Separated Strings
Integrating with legacy systems often includes sending lists of string values in a comma-separated format. If you are holding the values in an array of strings, you can use a method of the String class to automatically generate the delimited list.
Convert Comma-Separated Strings to String ArraysConvert Comma-Separated Strings to String Arrays
Integrating with legacy systems often includes receiving comma-separated lists of string values. To process these values, you may want to convert the comma-separated information to a simple array containing one element for each of the items.
<< Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Next >> |