assemblies - Why do standard libraries for C# need both an assembly reference and an import? -


what reason have both of these standard libraries? every other language have used, have 1 access standard libraries.

an assembly reference makes code in assembly available another assembly. using directive makes types of namespace available given source file. these separate concepts. if inclined, away never using usings directive , using fully-qualified type names. similarly, possible use usings directive refer other namespaces within same assembly.

also, there perfect analog between assemblies/jars , usings/import between java , c# purposes of discussion. c# hardly unique here.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -