using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//interface
namespace Hong
{
interface ISmart
{
}
}
namespace Kim
{
interface ISmart
{
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hong;
using Kim;
// Program.cs
namespace Busan
{
class Program
{
static void Main(string[] args)
{
Hong.ISmart Temp; //using에 Hong을 추가하면 Hong.ISmart로 쓸필요가 없다.
Kim.ISmart Temp2; // 하지만 namespace가 두개 이상이면
// 항상 namespace.ISmart를 써주어야한다.
}
}
}