Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
using System;
namespace One {
public class Firstclass
{
public void Hello()
{
Console.WriteLine("Hello this is myFirst Namespace");
}
}
}
namespace Two
{
public class Secondclass
{
public void Hello()
{
Console.WriteLine("Hello this is my Second Namespace");
}
}
}
public class Sample
{
public static void Main()
{
One .Firstclass h1 = new One .Firstclass();
Two.Secondclass h2 = new Two.Secondclass();
h1.Hello();
h2.Hello();
}
}
Advertisements
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.
AcceptLearn more