use will basically create a link to its argument using the last name (unless otherwise specified). To use ClassName without having to constantly indicate your namespace, you need to import the following:
use \MyNamespace\ClassName;
So, ClassName set as a reference to the type located in \MyNamespace\ClassName .
Similar to how Javas import works, not how C # s using , which imports the entire namespace.
source share