.net 4.0
added possibility to change compare method using a command line parameter