Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
It's already a string... why use ToString()?
Message
From
01/04/2002 13:43:41
 
 
To
01/04/2002 13:22:08
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00639339
Message ID:
00639582
Views:
21
>>the invocation of method TrazerEdicoes(), returns a XML string. Why I must call .ToString()??
>I don't think you have to, but I think it optimizes the code to perform better. Just a guess, I should findn out.

hmmm... I found, Mike... I´ve had declared my method such as:
Procedure TrazerEdicoes() as XMLString
I´ve put "XMLString" in order to know that that comes a XML string from that method... doing that way, I need to use .ToString() on the method call... changing the declaration of the method to
Procedure TrazerEdicoes() as String
it works without the ToString()... obviously, C# doesn´t know anything about a "XMLString" data type. :)
Claudio Lassala
Previous
Reply
Map
View

Click here to load this message in the networking platform