Confusing C# 13 example #40796
Labels
doc-enhancement
Improve the current content [org][type][category]
dotnet-csharp/svc
Pri3
📌 seQUESTered
Identifies that an issue has been imported into Quest.
whats-new/subsvc
Describe the issue or suggestion
I find the example for implicit index example to be confusing:
docs/docs/csharp/whats-new/csharp-13.md
Line 47 in 6ae8f61
The primary issue is that I have to guess what
v
andS
are. I realize that they are not important for the example, however, they are the first bits of code that I have to look at and parse. Also, is this code that one would ever write? Maybe this feature is just too niche to get this much fanfare?I like these pattern matching examples: https://learn.microsoft.com/dotnet/csharp/fundamentals/functional/pattern-matching.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
Associated WorkItem - 256379
The text was updated successfully, but these errors were encountered: