<ya****@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Hi,
I am writing an application in VB .NET 2005. Is it a good idea to use
VB 6-like functions such as Trim, MsgBox, Val, etc. or should I think
of using members of the System.String class, MessageBox class, etc.?
What are the pros and cons?
Thanks
Personal preference in most cases. I usually use the .Net ones for two
reasons:
1) when I see an example or snippet I want to use, it nearly always uses
..Net calls.
2) if I want to convert a module to C#, it is far easier if it is written
using .Net calls.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--