public void PrintMySound() { try { sound.Sounding(); } catch (System.NullReferenceException) { Console.Write("---"); } }