Fully Qualified Name in NameSpace
When accessing a class in C# , you use the fully qualifies Name of the class along with the NameSpace .
The Fully Qualified Name indicates the logical hierarchy of the class .
Below is the sample code that demonstrates the Fully Qualified Name
namespace ConsoleApplication4 { internal class Program { private static void Main(string[] args) { System.Console.WriteLine("This is a test Application"); } } }
In the above example , System is a namespace , Console is a class and WriteLine is a method defined in the Console Class .
Leave Your Comment