Skip to content

Commit

Permalink
Refactor iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
cvpfus committed Sep 20, 2023
1 parent 6ec2c42 commit b07f2b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions FormulatrixBootcamp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,6 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{B48AD888-F0FA-4879-8F05-BB765527F212} = {91FC4BEC-1535-4218-88E7-774E73FCFB89}
{2AD188A5-50C3-407C-BAE4-8EED634E2BE5} = {91FC4BEC-1535-4218-88E7-774E73FCFB89}
{78E07498-23C7-4F38-895B-48EA5BCC8104} = {91FC4BEC-1535-4218-88E7-774E73FCFB89}
{77D0C1C7-A06B-4E05-9458-873709BD4BFD} = {44C682DF-E1C9-4394-813D-0CB989CD9262}
{AA5CB577-831E-40F5-AABD-AFF7C56F8A57} = {44C682DF-E1C9-4394-813D-0CB989CD9262}
{1A0A5FD8-8FC2-4ECA-8EB0-BAC6DF70E7BF} = {0458C07F-2B31-4DB7-97E4-315800A0B2C0}
Expand Down Expand Up @@ -396,5 +393,8 @@ Global
{2E8B2B36-98E9-4ACC-BE46-0332F53A1AE3} = {24A9828C-37FB-41FF-AD85-C74FD61DFF50}
{5F05DFBC-6EF9-4F4F-8B6D-4E1490171568} = {24A9828C-37FB-41FF-AD85-C74FD61DFF50}
{3108ABBF-67CB-4E65-80A7-6C1F2F3E30B7} = {82AE1F6C-47FF-4067-89F3-87EBEFDA524C}
{78E07498-23C7-4F38-895B-48EA5BCC8104} = {91FC4BEC-1535-4218-88E7-774E73FCFB89}
{2AD188A5-50C3-407C-BAE4-8EED634E2BE5} = {91FC4BEC-1535-4218-88E7-774E73FCFB89}
{B48AD888-F0FA-4879-8F05-BB765527F212} = {91FC4BEC-1535-4218-88E7-774E73FCFB89}
EndGlobalSection
EndGlobal
3 changes: 1 addition & 2 deletions W3 D3/QueueStack/Wardrobe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,9 @@ public override string ToString()
sb.AppendLine();
foreach (var shelf in _stackOfClothes)
{
IEnumerable<Enum> enumerableStack = shelf;
sb.Append($"Shelf number: {Array.IndexOf(_stackOfClothes, shelf)} | Number of clothes: {shelf.Count}");
sb.AppendLine();
foreach (var item in enumerableStack)
foreach (var item in shelf)
{
sb.Append($"{item}");
sb.AppendLine();
Expand Down

0 comments on commit b07f2b2

Please sign in to comment.