/// <summary> /// Returns the next gibberish sentance to use. /// </summary> /// <returns> The gibberish sentance. </returns> public string GetGibberish() { // Get a sentance. string sent = string.Join(" ", markovChain.GenGibSent(maxSentanceLength)); // Capitalize first letter. sent = char.ToUpper(sent[0]) + sent.Substring(1); // Trim end of spaces, tabs, and null chars. sent = sent.TrimEnd(' ', '\t', '\0'); // End sentace with a period. sent += "."; return(sent); }