static void Main(string[] args) { ThreeHolePlug adapter = new PowerAdapter(); adapter.Charging(); Console.ReadLine(); }
static void Main(string[] args) { PowerAdapter powerAdapter = new PowerAdapter(); var result = powerAdapter.ThreePinMethod(); Console.WriteLine(result); Console.ReadKey(); }
static void Main(string[] args) { IThreeHole threehole = new PowerAdapter(); threehole.Request(); Console.ReadLine(); Target target = new PowerAdapterObject(); target.Request(); Console.ReadLine(); }