
Differences between PHP and ASP.NET
Answers to a forum question for PHP developers moving to ASP.NET with C#: quotes, output, operators, string formatting and arrays.

Birthday, 20 Years: Small Console ChatServer
Turning 20, so three articles as a present: a console chat server, a word wrapper and gathering e-mail addresses from Outlook.

Custom WordWrapper
A C# word wrap method with a maximum width and an optional prefix, written for a forum question when I couldn't find one online.

Outlook and C#: Gather Addresses
A C# console app that walks an Outlook folder and collects every e-mail address from senders, recipients and message bodies.

Small Console ChatServer
A small C# console chat server: a TcpListener on its own thread, one Connection object per client, and every message broadcast to all.

Create Hashes: MD5, SHA1, SHA256, SHA384, SHA512
A small C# Hash class that makes MD5, SHA1, SHA256, SHA384 and SHA512 hashes as easy as md5() or sha1() in PHP.

Associating Your Program with Every File: ShellExtension
A C# class that adds your program to the right-click menu of every file, by writing a shell command key under HKEY_CURRENT_USER.

C# Script
CS-Script: a small tool that compiles and runs a single .cs file in memory, like a batch script for C#.

Including Resources in .exe
Embedding the Non-Rectangular Form's bitmap in the .exe as a resource, and loading it with one line of C#.
