What is (. Tostring()) is it conversion of integers to string value? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is (. Tostring()) is it conversion of integers to string value?

Can any one plz help me...

12th Aug 2016, 11:16 AM
CH.Durga Prasanna Kumar
CH.Durga Prasanna Kumar - avatar
3 Answers
+ 3
Yes. it's a method which converts numeric values to string.
12th Aug 2016, 11:45 AM
Alireza M
Alireza M - avatar
+ 2
It's a method that helps you convert any data type or structure value to a string equivalent. Which means you are not restricted to integers alone
13th Aug 2016, 2:09 AM
Animashaun Abdul Azeem
Animashaun Abdul Azeem - avatar
+ 1
Also you can override this method in your classes to make some description of its state, for example. Visual studio debugger will show result of this method instead of object type (in most cases).
13th Aug 2016, 9:20 PM
Ivan G
Ivan G - avatar