Sorry if this question was asked already. I started studying C# and noticed that C# doesn't automatically import nested namespaces. I don't understand:
using System;
should automatically import all classes contained in the System namespace right? So there should be no need for me to write
using System.Windows.Form;
I would understand if using Windows.Form
even worked. But the compiler could not resolve it! What is the point of the using System;
before it then?
So why does using System;
not import System.Windows
automatically as well as System.Windows.Forms
- sorry if the word import is wrong here.. maybe move to global namespace is the right terminology.