In a VB.NET project, what is the difference between importing a namespace in Project-Properties and using a Imports [NameSpace] statement at the start of a file?
In a VB.NET project, what is the difference between importing a namespace in Project-Properties
Share
Imports in the project properties apply to all code files.
The
Importsdirective only applies to the class it is declared in.From How to: Add or Remove Imported Namespaces (Visual Basic) on MSDN: