programming-examples/c-sharp/Functions/C# Program to Implement Namespaces.cs

25 lines
448 B
C#
Raw Normal View History

2019-11-15 12:59:38 +01:00
/*
* C# Program to Implement Namespaces
*/
using System;
namespace Sanfoundry.Csharp.Codes
{
class TestClass
{
public TestClass()
{
Console.WriteLine("Class to Demonstrate Namespace");
}
}
}
class MyClient
{
public static void Main()
{
Sanfoundry.Csharp.Codes.TestClass mc = new Sanfoundry.Csharp.Codes.TestClass();
Console.ReadLine();
}
}
/*
Class to Demonstrate Namespace