Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building Console Apps
Message
Information générale
Forum:
ASP.NET
Catégorie:
Visual Studio
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01612162
Message ID:
01612223
Vues:
65
>>Hmm, 'using's are namespaces, references are DLLs.
>>If you're talking about adding 'using's then get ReSharper - it's pretty smart at working out what's needed.
>>If you are talking about references it would make no sense to add them ALL - you would end up with a huge number of unused dlls when deployed.
>
>I thought he was taking about namespaces, but I was not sure, but this is exactly what I had mentioned here several times about my dislike of the using directive in the role of namespace qualifier, something I've been frowned upon in here.

Hmm. Sort of agree. But it use as a directive preceded the using statement. IMPORTS in VB is just as descriptive as a directive. Don't know why they plumped for 'using' in C#....

That said, in practice it doesn't worry me at all.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform