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 | Next >> |
Generic TypesGeneric Types
Microsoft introduced generics to the .NET framework with version 2.0. Generic programming allows highly reusable classes to be created without specifying the types that they operate upon. These types are only provided when the class is used.
Func and Action DelegatesFunc and Action Delegates
The Func and Action generic delegates were introduced in the .NET framework version 3.5. They provide flexible delegates with generic parameters that can be used for many purposes, including passing lambda expressions to method parameters.
Character Testing with the Char StructureCharacter Testing with the Char Structure
When developing software that may be deployed in many countries, it is important to be able to determine the type of a character according to the rules of the local culture and language. The Char structure provides methods to simplify this process.
Environment.NewLineEnvironment.NewLine
When working with strings that contain multiple lines of text, each line is separated with a line break. Line breaks are often added by inserting carriage return and line feed escape characters. This can cause cross-platform compatibility problems.
The StringBuilder ClassThe StringBuilder Class
Creating strings with the use of multiple concatenation operations can lead to low performance and wasteful memory usage. The StringBuilder class allows strings to be created and updated without the problems caused by the immutability of the String class.
Get Time Zone InformationGet Time Zone Information
When creating applications that will be used internationally, particularly with a shared database that holds date and time data, it is important to be able to obtain information about time zones. This can be achieved with .NET 3.5's TimeZoneInfo class.
Combining ArraysCombining Arrays
A common requirement when developing software is to combine several arrays. This article explains the process of copying two arrays into a third, larger structure. This process can be extended to join together the contents of any number of arrays.
Launching Processes From .NET ApplicationsLaunching Processes From .NET Applications
Some applications require the ability to launch other programs, either to open new windows or to reopen an application with alternative privileges. The .NET framework provides methods that permit you to start .NET and other processes easily.
Adding Assemblies to the Global Assembly CacheAdding Assemblies to the Global Assembly Cache
The global assembly cache (GAC) provides a centralised, machine-wide storage location for .NET assemblies. When you add an assembly to the GAC, you allow it to be shared by many programs, rather than requiring a copy to be installed for each application.
Generating Random NumbersGenerating Random Numbers
There are many uses for pseudo-random numbers in software, including generating temporary passwords for web sites or networked software or positioning enemies in a game. The .NET framework permits the creation of random numbers using the Random class.
<< Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Next >> |