Value Type

Don't quite understand your question, but you can convert an Integer to a string by saying ,e.g
VB.NET:
 str = i.ToString
 
Hi,

Thanks for the reply... Ya basically Int is an Value Type right...

When u convert that is str=1.tostring...... After converting is it value type or reference type...

Bcoz ur converting to string rite but string is reference type.....

Please do let me know

Thanks




Don't quite understand your question, but you can convert an Integer to a string by saying ,e.g
VB.NET:
 str = i.ToString
 
ToString returns the String value of the converted value, the value remains unchanged. The integer value is still an integer, the string is a string.
 
Back
Top