"Now" is a method in the standard Net namespace Microsoft.VisualBasic, you
can use it in C# in the same way as every other standard Net namespace.
In VB you can use in two ways the "using" declaration of namespaces. One is
in the project properties and one is in the same way although you use
"Import" in the same way as in C#. In VB.Net are in the same way as in C#
automaticly set some namespaces to use when you open things like a form.
Including in that is forever the namespace VisualBasic, however you don't
see it, it is in the Project Propertys.
For the rest C# and VB.Net are here again exactly the same.
(I would never use this namespace in C# only to get the Now method by the
way).
I hope this explains it a little bit.
Cor
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.