Casting and Type Conversion Best Practices in C#

Type casting or type converting is a common occurrance in C#, and as the language has evolved new methods and operators have been introduced that handle type conversion in varying ways. Over the years, I have built up my own set of best practices and decided to get them out of my head with the goal of soliciting feedback and hopefully refining them further. Before laying them out, I’ll cover the basics of type casting and type conversion in C#.... Read More