August 31, 2002

Right-align formatted strings

The String.Format function supports many formatting options, but none allows you to display right-aligned columns of numbers, as in: 1.00 12.00 123.00 1,234.00 However, you can easily create a helper

Resolve an internet host address

The System.Net.Dns class exposes a few static methods that let you resolve an internet domain name – such as – into a 4-part numeric IP address, also known as