I was wondering if anyone could possibly assist me please. I'm going to come out and say I am not a C# dev and have limited knowledge on the subject but I am starting to learn it.
I being developing a mail generation tool to pump dummy mail into an exchange environment for testing purposes. Everything works beautifully and the mail generation is grand but another requirement has come up where they want valid words (doesn't have to be legible, but searchable, thus valid English words).
The list of words is not my issue, previously I was using the ascii table to produce garbled text, so now I have stipulated the list ie:
List<string> dictionary = new List<string>();
dictionary.Add("Hello");
dictionary.Add("great");
dictionary.Add("perfect");
dictionary.Add("pounding");
dictionary.Add("help");
Now what I cant seem to get right is populating the email body with a random selection of these words with random paragraphs and sentences in random lengths. The above list is just a short version for testing, i have 500 plus words that will be used.
I did look at using the loop of for or foreach but, I am failing miserably.
If anyone could assist me or point me in the right direction I would greatly appreciate it.