Generating Prime Numbers
A utility in C# that 1) allows you to generate all the prime numbers between 1 and the number you specify, and 2) tells you whether or not your a particular number is prime.
A utility in C# that 1) allows you to generate all the prime numbers between 1 and the number you specify, and 2) tells you whether or not your a particular number is prime.
A checksum is a way of checking that a file hasn't changed. MD5 Verifier allows you to easily check an executable file against its checksum.
It's stunning how many lists I keep in my life....


Using Enum.Parse to translate a string value into an enum value.
Various ways that you can use System.Diagnostics.Process to perform various actions.
The default sorting provided by .NET isn't enough most of the time. To enable sorting by a field that you want --- for example, a post's title --- you need to implement the IComparable interface. To allow the users to sort by multiple different fields, you need to implement IComparer.
Continue reading "Custom Sorting With IComparable and IComparer"
How to programmatically connect to a webpage and get content via .NET.


So you have an ArrayList of strings and you want to return it as a string[] array. It's really easy:
return (string[])arrayList.ToArray(typeof(string));