Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- StringBuilder sb = new StringBuilder();
- if (isCollectAllWood)
- {
- sb.AppendLine($"The Beaver successfully collect {collectedWool.Count} wood branches: {string.Join(", ", collectedWool)}.");
- }
- else
- {
- sb.AppendLine($"The Beaver failed to collect every wood branch. There are {countWoods} branches left.");
- }
- Console.WriteLine(sb);
- // Отпечатване на цялата матрица
Advertisement
RAW Paste Data
Copied
Advertisement