What is the value of "i" in the following code?
int i= 123;
string s = (String)i;
Conversion is not possible between in-compatible datatypes. Here int and string are incompatible data types. We must use convert class for conversion.
Back To Top