this is really basic stuff, shouldnt you be better of reading a good book first and then come back with a few more advanced questions. or a little search on google would give you the answer a lot quicker.
JohnYingling -
I wasn't sure if that was one of the things that C# can do, and that VB.NET can't, so that's why I was a little cautious (probably shouldn't have said anything).
But it does illustrate the point that a string is a string is a string, even when you're looking at a constant vs. a variable of type string.
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
But some would argue that overloading an operator is a bug, not a feature. "Gee, does the addition operator convert it to int before adding, or does it just append the numbers to the string"?
Meaning that you usually have to go look at the code to understand what the other developer intended. Assuming that you even think to go look, that is...
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.