When to use a namespace

  • Thread starter Thread starter Steven Blair
  • Start date Start date
S

Steven Blair

Hi,

Is there any difference between:

using System.Data;

public DataSet ds;

compared to not adding the namespace:

public System.Data.DataSet ds;

Any help on this would be appreciated.

Regards,

Steven
 
Hi,


No really, it's just convenience, for you not to have to write the complete
namespace path.

IIRC this same question was asked this week, take a look in the archives to
find other answer to it.


cheers,
 

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.

Ask a Question

Back
Top