https://www.youtube.com/watch?v=dRRSGy9Tad8&list=PLO56HZSjrPTB4NxAsEP8HRk6YKBDLbp7m&index=54
class Program
{
static void Main(string[] args)
{
}
}
namespace testProject
{
class Program
{
static void Main(string[] args)
{
}
}
}
using System;
using static System.Console;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Foo
{
public class Car
{
public void Go() => WriteLine("Foo.Car 자동차");
}
}
namespace Bar
{
public class Car
{
public void Go() => WriteLine("Bar.Car 자동차");
}
}
namespace testProject
{
class Program
{
static void Main(string[] args)
{
Foo.Car fooCar = new Foo.Car();
fooCar.Go();
Bar.Car barCar = new Bar.Car();
barCar.Go();
}
}
}
using static System.Console;
namespace Foo
{
public class Car
{
public void Go() => WriteLine("Foo.Car 자동차");
}
}
using static System.Console;
namespace Bar
{
public class Car
{
public void Go() => WriteLine("Bar.Car 자동차");
}
}
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace testProject
{
class Program
{
static void Main(string[] args)
{
Foo.Car fooCar = new Foo.Car();
fooCar.Go();
Bar.Car barCar = new Bar.Car();
barCar.Go();
}
}
}