public void ShowTvGuide() { if (currentVideoSource != null) { Console.WriteLine(currentVideoSource.GetTvGuide()); } else { Console.WriteLine("Please select a Video Source to get TV guide from"); } }
public void ShowTvGuide() { Console.WriteLine(_currentVideoSource != null ? _currentVideoSource.GetTvGuide() : "Please select a Video Source"); }