public static void Main()
string source = "The first world war occurred in the early 20th century, many countries around the world were originally agnostic to the early battles. An obvious reason why is because there are many countries in the world that do not have relations to nation states that were fighting in the early battles.";
string template = "Roses {0} red, scarlets {1} blue, this poem doesn't have {2} ending, so embrace the unknown because it is {3}.";
string defaultWord = "banana";
string matchingLetter = "a";
string[] madgabWords = new string[numberOfBlanks];
Array.Fill(madgabWords, defaultWord);
string[] textSplit = source.Split(" ")
.Where(x=> x.StartsWith(matchingLetter, ignoreCase, null))
for(int i = 0; i < textSplit.Length && i < numberOfBlanks; i++)
madgabWords[i] = textSplit[i];
Console.WriteLine(template, madgabWords);
var madgab = string.Format(template, madgabWords);