Code Snippet: ConvertToTypeT

I live for nifty code snippets. They make life so much easier. I also like .NET’s generics support. When I was recently writing a utility library for myself, I found myself wanting to convert command line arguments to a defined type. How would one go about converting an arbitrary argument passed as a string to […]