Saturday, September 28, 2013

"var" keyword and different behavior with "string" data type

That's right:


For 1st senario:the operator "+" will convert the "1.0" to string, and combined to "ankur", so the result is just the string, the same type of "x".


For 2nd:y's type is int, but you wanna conbine it with "ankur", the result will be string, string cannot be converted to int.




Click For donating:Free Rice For the poor

For spamming-sender issues, you can either report it at Microsoft Spamming Issue , or just find "Report Spam Here+Number" at Forum Issue ;You can also find "Verify Your Account+Number" at "Forum Issue", where you can submit to be confirmed to paste links or images.

For more things to talk about? StackOverFlow is your choice.


No comments:

Post a Comment