See that? Console
belongs to the System
namespace. Whenever we call the Write ()
method, we're actually calling System.Console.Write ()
.
Psst: if we add the using
keyword with System
at the top, we don't have to type System
every time we use something from that namespace.
Yup! That works as well, but it's not necessary in this case. How about we just try Console
instead?