Casting and Converting Between Types

Recently I was asked how to convert a number to a string. Let’s look at a few ways of approaching this problem.
Most objects in c# have a method called ToString() which displays the string representation of that object. This is because of inheritance, all objects inherit from System.Object which defines ToString().

Link: https://dzone.com/articles/casting-and-converting-between-types