Download c# eBook


Casting is not the same as Converting. It is possible to convert the string value "-1" to an integer value (-1), but this must be done through library methods like Convert.ToInt32() or Int32.Parse(). It cannot be done using casting syntax directly.

Related Examples


100 Contributors: 3
Monday, October 31, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook