private static void Main() { var complexSystem = new ComplexSystem(); IAcceptedContract employeeAdapter = new ComplexSystemAdapter(complexSystem); foreach (string item in employeeAdapter.GetList()) { Console.Write(item); } }
public ComplexSystemAdapter(ComplexSystem complexSystem) { _ComplexSystem = complexSystem; }