You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
448 B
C#
25 lines
448 B
C#
4 years ago
|
/*
|
||
|
* 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
|