TryConvertTo<T> C# Helper
This snippet of code has been in my arsenol for many years. I am not sure where I first learned it or heard of it, but it finds its way into nearly all of my projects.
Using Generic types it allows for quick and accurate conversions from any data-type to any other data-type. If the conversion cannot happen the default of the targeted
data-type is returned.
See the Code