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
Post a Comment