Advertisement
vvsvvs

Untitled

May 23rd, 2022
640
135 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. StringBuilder sb = new StringBuilder();
  2.  
  3.             if (isCollectAllWood)
  4.             {
  5.                 sb.AppendLine($"The Beaver successfully collect {collectedWool.Count} wood branches: {string.Join(", ", collectedWool)}.");
  6.             }
  7.             else
  8.             {
  9.                 sb.AppendLine($"The Beaver failed to collect every wood branch. There are {countWoods} branches left.");
  10.  
  11.             }
  12.  
  13.             Console.WriteLine(sb);
  14. //          Отпечатване на цялата матрица
Advertisement
RAW Paste Data Copied
Advertisement