Skip to content

Commit 906f25b

Browse files
committed
Simplify expression
1 parent 8a9e356 commit 906f25b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ dictList.UnsetAt(1);
116116
// ...to demonstrate traversal
117117
foreach (var kv in dictList)
118118
{
119-
_ = kv.Key;
120-
_ = kv.Value;
119+
_ = (kv.Key, kv.Value);
121120
// yields in order: (0, 1), (2, 3), (3, 12), (4, 5); 4 items!
122121
}
123122

0 commit comments

Comments
 (0)