Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CSharp/Blackbaud.Interview.Cards/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ static void Main()

// Create a new deck
var deck = Deck.NewDeck();


// TODO: shuffle the deck
Console.WriteLine("Shuffling...");
deck = deck.Shuffle(3);
Comment on lines +14 to +18
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix inconsistent indentation.

Lines 14 and 18 have irregular whitespace indentation (7 and 9 spaces respectively) while the rest of the file uses consistent 8-space indentation at this level.

🧹 Proposed fix for indentation
         // Create a new deck
         var deck = Deck.NewDeck();
-       
+
 
         // TODO: shuffle the deck
         Console.WriteLine("Shuffling...");
-         deck = deck.Shuffle(3);
+        deck = deck.Shuffle(3);
🤖 Prompt for AI Agents
In `@CSharp/Blackbaud.Interview.Cards/Program.cs` around lines 14 - 18, The three
affected lines in Program.cs (the TODO comment, the
Console.WriteLine("Shuffling..."); call, and the deck = deck.Shuffle(3);
statement) have irregular leading spaces; normalize their indentation to match
the file's existing 8-space indentation at this block level so the TODO,
Console.WriteLine and deck = deck.Shuffle(3) lines align with the surrounding
code style.


// Deal all the cards
while (!deck.Empty)
Expand Down