public static void ListPorts() { foreach (var p in SerialPortWrapper.ListPorts()) { Console.WriteLine(p); } }