July 2007
1 post
7 tags
CodeSnippet: PrintObject
Following up on the same idea as the ListEnum code snippet, this is a method I often use to print the properties of an object to the console. I write a number of small command-line utilities, and typically, I create a “property bag” type of object that contains all of the possible command-line options. Just before execution, I like to display the options to the user, so that they know...