Example #1
0
 public static String Concat(params String[] Lines)
 {
     return(Lines.Aggregate((a, b) => a + Environment.NewLine + b));
 }
Example #2
0
 /// <summary>
 ///     Returns the text on one line. This is mainly used
 ///     in the song detail overview in the presenter.
 /// </summary>
 /// <returns>Text on one line</returns>
 public string GetOneLineText()
 {
     return(Lines.Aggregate("", (current, str) => current + (str + " ")));
 }