CountCharPairs.exe, Version 1.00 Count character pairs in source files, e.g. {} in a C# source file Usage: CountCharPairs sourcefile charpair [ charpair [ ... ] ] Where: sourcefile is the source file to be investigated charpair is a pair of characters to search for in the source code (allowed: "[]", "()", "{}" and "<>") The program will count the number of opening characters and the number of closing characters for each specified character pair. If the number of opening characters equals the number of closing characters, the program returns an "OK" message; if not, the numbers of occurences for each character will be shown. The program's return code equals the total number of mismatches, or 1 if this error screen is shown. Written by Rob van der Woude http://www.robvanderwoude.com