0

what is the importance of "namespace" in c# program?

19th Feb 2017, 3:18 PM
Farhan Fuad
Farhan Fuad - avatar
2 Answers
+ 1
Namespsaces are used to contain classes. Its basically like a bigger class used to contain a lot of different classes
19th Feb 2017, 9:59 PM
Thomas Adams
Thomas Adams - avatar
0
namespace is used for this: Console.WriteLine("Hello, World!); instead of writing System.Console.WriteLine("Hello, World!); The namespace keyword is used to declare a scope. The ability to create scopes within your project helps organize code and lets you create globally-unique types.
3rd Mar 2017, 10:09 AM
Martins Akoje
Martins Akoje - avatar