dotnet / dotnet/dotnet-api-docs

No info on what happens when index out of range

Open
#10,264 0 comments 0 reactions 0 assignees View on GitHub
area-System.Runtime.CompilerServices Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Typo

### Description

[Enter feedback here]
What happens if I pass an index value that is out of range? Many documentation pages convey such information, but this one does not. Does it throw something? Does it return null? Please don't make me guess.

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.ituple.item?view=net-8.0#system-runtime-compilerservices-ituple-item(system-int32)

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime.CompilerServices/ITuple.xml

### Document Version Independent Id

aa8d804a-19f2-7b72-b0ea-883cae56ee27

### Article author

@dotnet-bot

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.