Skip to content

Conversation

@MashalMohammed
Copy link

@MashalMohammed MashalMohammed commented Nov 24, 2023

typo: 1_000 -> 1000


Internal previews

📄 File 🔗 Preview link
docs/core/extensions/dependency-injection.md .NET dependency injection

@dotnet-bot dotnet-bot added this to the November 2023 milestone Nov 24, 2023
@ghost ghost added the community-contribution Indicates PR is created by someone from the .NET community. label Nov 24, 2023
@pkulikov
Copy link
Contributor

@MashalMohammed I don't think it's typo.

You can use the underscore symbol in integer literals:
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/integral-numeric-types#integer-literals
image

So, most probably, the example uses 1_000 for better readability.

@MashalMohammed
Copy link
Author

Oh my bad - closing the PR.
@pkulikov thanks for the clarification.

@MashalMohammed MashalMohammed deleted the patch-1 branch November 28, 2023 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-fundamentals/svc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants