Add Reference

We use ‘using’ key word to add the namespace in the application, but the system still give us the message that it could not find the specific class.

Using

As usually, we forgot to add the reference in the application.

AddReference

Note: there are three config file when we release an application – ApplicationName.exe.Config, ApplicationName.vshost.exe.Config and app.Config (which locats in the source code). When we operate the config (read and write), in fact, we operate the ApplicationName.exe.Config.

原文地址:https://www.cnblogs.com/wildboar/p/2102284.html