What does the using directive do, exactly?

后端 未结 4 2000
你的背包
你的背包 2021-01-18 13:02

On MSDN I can read what it does, but I would like to know what it does technically (tells compiler where to look for types..)? I mean using as a directive.

4条回答
  •  情深已故
    2021-01-18 13:33

    using just tell the compiler to go to the assembly's configuration file and search for a specific DLL with the name given, if the DLL is found then it links that dll into the current project. using is just a link operation to have DLL talk to each other in a shared space in memory. The guy below here is right

提交回复
热议问题