Skip to content

Commit b8abbdd

Browse files
authored
Use simple array initialization with new[]
1 parent 7d6ee10 commit b8abbdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected override void OnInitialized()
111111
}
112112
};
113113

114-
foreach (string color in new string[] { "Red", "Yellow", "Green", "Blue" })
114+
foreach (string color in new[] { "Red", "Yellow", "Green", "Blue" })
115115
{
116116
_config.Data.Labels.Add(color);
117117
}

0 commit comments

Comments
 (0)