In short, .toString()this is a method, like any other, (String)is a translation, a language construct used to process one data type as another compatible type.
Now for some details:
.toString() - , , . "" - , , , , . Object, , . , . # . , , , , , , .
, , , ToInt(), ToDouble() ToChar(), .
- , , . , , .