A Namespace in .NET is used to organize your code . The Namespace provides a better code readability and helps you understand how the code is arranged . They help you to organize large projects very well.
The Namespace is also used to distinguish classes with same same .
The Namespace can be nested into another namespace and is references with the keyword “using”.
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication4 { class Program { static void Main(string[] args) { } } }
Leave a Reply