Welcome to the Treehouse Community
Looking to learn something new?
Confusion on using namespace in the program.
Why when using the
System.Threading.Thread.Sleep(1000); you have to use the
System keyword but with
Console.WriteLine("Hello"); you don't have to?
I thought the use of
using System; allows you to negate the word
Great question Isaac. The reason that you have to use the
System.Threading is because it is a different namespace with its own classes and structs.
I'l give you a link to the MS Docs that gives a little bit of an explanation and shows you the different classes available.