Untitled
unknown
csharp
3 years ago
239 B
2
Indexable
Never
string lineToPrint = string.Empty; for (int i = 0; i < 4; i++) { int wordNumber = wordIndex.Next(0, allWords.Length); string word = allWords[wordNumber]; lineToPrint += word + " "; } Console.WriteLine(lineToPrint)