Skip to content

Commit 05d3905

Browse files
Added missing quotes.
1 parent c1c656f commit 05d3905

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ for (int i = 0; i < values.Count(); i++)
146146
var value = values[i];
147147
string name = await value.GetNameAsync();
148148
FileSystemHandleKind kind = await value.GetKindAsync();
149-
Console.WriteLine($"'{name} is an {kind}'");
149+
Console.WriteLine($"'{name}' is a {kind}");
150150
await value.DisposeAsync();
151151
}
152152
```
@@ -157,7 +157,7 @@ await foreach (FileSystemHandle value in valuesIterator)
157157
{
158158
string name = await value.GetNameAsync();
159159
FileSystemHandleKind kind = await value.GetKindAsync();
160-
Console.WriteLine($"'{name} is an {kind}'");
160+
Console.WriteLine($"'{name}' is a {kind}");
161161
}
162162
```
163163
In the above example, we pass `true` for the `disposePreviousValueWhenMovingToNextValue` parameter, which is also the default. This means that it will dispose of each handle once it iterates past it. If you need the handles after iterating, you can pass `false` for this parameter instead.

0 commit comments

Comments
 (0)