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 >> |
Convert Integers to Binary, Octal or HexadecimalConvert Integers to Binary, Octal or Hexadecimal
For readability it is usual to present integer values using the decimal numbering system. However, sometimes the binary, hexadecimal or octal number bases are more appropriate. This tip shows how to convert a value to one of these alternatives.
Getting the Day Name for a DateGetting the Day Name for a Date
When developing software that displays dates, you may want to show the name of a day such as Monday, Tuesday, etc. The names should be shown in the user's preferred language. This is simple to achieve using either of the methods described in this tip.
Creating Globally Unique Identifiers (GUIDs) in .NETCreating Globally Unique Identifiers (GUIDs) in .NET
It is important in many business systems that items are marked with a unique reference. Often this is a sequential number generated by a database or a code entered by a user. In some situations, these options are not enough so GUIDs may be employed.
Reversing a StringReversing a String
Sometimes it can be useful to reverse the contents of a string, character by character. It can come as a surprise to find that there is no native method to achieve this in the .NET framework. However, it is possible with the use of a character array.
The Specialised CollectionsThe Specialised Collections
The forty-third part of the C# Fundamentals tutorial describes the specialised (or specialized) collection classes. The .NET framework provides five different types of specialised collection, each being optimised for a particular structure or data type.
Bit Manipulation with the BitArrayBit Manipulation with the BitArray
The forty-second part of the C# Fundamentals tutorial examines the use of the BitArray class. This type of collection can be used to hold very large series of bits that can be manipulated either independently or collectively as an entire group.
The Stack CollectionThe Stack Collection
The forty-first part of the C# Fundamentals tutorial examines the Stack class. This collection includes the functionality required in a 'Last In, First Out' (LIFO) stacking structure. Stacks allow items to be held for later extraction and processing.
The Queue CollectionThe Queue Collection
The fortieth part of the C# Fundamentals tutorial describes the use of the Queue class. This collection includes the functionality required in a 'First In, First Out' (FIFO) queuing structure. Queues allow items to be held in order for later processing.
The SortedList CollectionThe SortedList Collection
The thirty-ninth part of the C# Fundamentals tutorial describes the use of the SortedList class. This dictionary collection provides a hybrid of the Hashtable and Array types; each entry being a key / value pair sorted according to the key's contents.
The Hashtable CollectionThe Hashtable Collection
The thirty-eighth part of the C# Fundamentals tutorial describes the use of the Hashtable class. This provides general-purpose dictionary collections allowing the items in a collection to be addressed not by an index number, but by an object-based key.
<< Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Next >> |