What conditions do custom types need to meet in order to use [1.. ^ 1] #8279
-
I found that both string and Memory can use this syntax. But I couldn't find it in the API documentation
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
It's the syntax for the |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@zms9110750 |
Beta Was this translation helpful? Give feedback.
You can check the link to the documentation itself:
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-8.0/ranges#implicit-range-support