by Geoff Taylor
OpinionatedGeek Logo
Windows Tools

Source code for all these tools is on GitHub.

ADO.NET ConnTest A simple, free Windows program to test ADO.NET connection strings.

Lines of C# Ever wanted to know how many lines of C# code are in a file or folder hierarchy?  This free Windows program will tell you.

XmlTools Free tools to process XML files from the command line.

OpinionatedGeek LinesOfCSharp

The standard rumour is that programmers write only 10 or 12 lines of fully debugged code every day. Use this tool to prove the rumour wrong.

LinesOfCSharp doesn't just count the number of lines in a file or folder. Instead it examines each line to see if the line is empty, a comment line, some other non-code line, or a real line of C# code. The readout shows how many of each of these types of lines is in that file or folder (and it traverses subfolders too).

Download the source code from GitHub now!

Here's what the tool looks like in action:

LinesOfCSharp screenshot