|
-
Dec 13th, 2007, 03:25 PM
#18
Special Guest - Microsoft
Re: VB Runtime Functions
Hi everyone,
Here's a good paper to read about this topic and contains recommendations on when to use the Microsoft.VisualBasic functions. Be careful making a blanket statement about always using the .NET framework classes directly. For instace, the conversion operators (CInt, CStr, CLng, etc.) are true operators that compile down to IL instructions while the System.Convert functions are still just functions. This means you'll get significantly worse performance by calling Convert.ToInt32 instead of using CInt(). Here's a post that explains this from Paul Vick.
-B
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|