Answered
What's the difference between String() - as String - toString();
Hello,
I'm wondering what's the difference between this 3 ways of getting around.
Hello,
I'm wondering what's the difference between this 3 ways of getting around.
there's zero difference between casting an object as a string using:
String(something)
and
something as String.
if you can use one of the above on the same object that you're applying the toString() method to, there will be no difference among the 3.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.