private static void Main() { try { var audio = new Audio(); audio.Record(); } catch (Exception ex) { Console.WriteLine(ex.Message); } Console.ReadLine(); }
public void Record(Audio media) { Console.WriteLine("Audio record: {0}", media.GetStatus); }