-
Yahoo has launched a .NET developer center to help you kick start development with the Microsoft .NET Framework and Yahoo! services.
-
Great to see Yahoo support .net too.
While looking at their example code I noticed this:
request = DirectCast(WebRequest.Create(address), HttpWebRequest)
What's the difference between DirectCast and Ctype? I always use Ctype, I didn't even know about DirectCast. -
ZippyV wrote:Great to see Yahoo support .net too.
While looking at their example code I noticed this:
request = DirectCast(WebRequest.Create(address), HttpWebRequest)
What's the difference between DirectCast and Ctype? I always use Ctype, I didn't even know about DirectCast.
From VS2005 documentation:
DirectCast does not use the Visual Basic run-time helper routines for conversion, so it can provide somewhat better performance than CType when converting to and from data type Object.
-
Nice find; Yahoo dotnet, did you see the HackDay videos?
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.