// LengthAndSeasons: compile length and season into one string with line break delimiter (if both values are there) public static string LengthAndSeasons(this MovieInfo movie) { return(String.Format ( "{0}{2}{1}", movie.BeautifyLength(), movie.BeautifySeasons(), ((movie.BeautifyLength() != String.Empty) && (movie.BeautifySeasons() != String.Empty) ? "\n" : "") )); }