Breaking 4 digit password

Simple code in C# demonstrating brute force four digit random password breaking.