Skip to content

Commit ee1ced7

Browse files
avoid array allocation
1 parent 84ded99 commit ee1ced7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CodeBreaker.Data.Demo/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Code = new string[] { Red, Blue, Black, White },
2323
Username = "Sebastian",
2424
Start = DateTime.Now,
25-
Colors = new string[] { },
25+
Colors = Array.Empty<string>(),
2626
MaxMoves = 12,
2727
};
2828

0 commit comments

Comments
 (0)