public string RandomInnleggsGenerator(int wordCount)
{
string[] [FONT=Courier New, Courier, Verdana, sans-serif]words[/FONT]= { "Fidelity", "Blindtest", "FEIL", "lurt", "svindel", "Bransje", "ikke", "godt", "nok", "jeg", "hører", "perfekt", "du", "bransje", "mumbo-jumbo", "overpriset", "latterlig", "test", "gyldig", "kabel", "svindel" };
StringBuilder builder = new StringBuilder();
for (int i = 0; i < wordCount; i++)
{
builder.Append(words[random.Next(words.Length)]).Append(" ");
}
string sentence = builder.ToString().Trim() + ". ";
sentence = char.ToUpper(sentence[0]) + sentence.Substring(1);
builder = new StringBuilder();
builder.Append(sentence);
return builder.ToString();
}