We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c89e4e8 commit e1afa33Copy full SHA for e1afa33
m/window-left.md
@@ -2,8 +2,10 @@
2
3
Creates a left-aligned sliding window over the source sequence of a given size.
4
5
-```c# --destination-file ../code/Program.cs --region statements --project ../code/TryMoreLinq.csproj
6
-// TODO add example
+```c# --destination-file ../code/Program.cs --region expression --project ../code/TryMoreLinq.csproj
+from w in Enumerable.Range(1, 5)
7
+ .WindowLeft(3)
8
+select $"AVG({string.Join(",", w)}) = {w.Average()}"
9
```
10
11
For more details, [see the documentation][doc].
0 commit comments