Versions des environnements
Network:
Windows 2008 Server
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement