Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary repetition of array items in example code #40758

Closed
n7800 opened this issue May 4, 2024 · 1 comment · Fixed by #40777
Closed

Unnecessary repetition of array items in example code #40758

n7800 opened this issue May 4, 2024 · 1 comment · Fixed by #40777
Labels
doc-bug Problem with the content; needs to be fixed [org][type][category] dotnet-fundamentals/svc good first issue Issue should be good for first-time contributors, with clear instructions help wanted Good for community contributors to help [up-for-grabs] okr-health Content-health KR: Concerns article defects/freshness or build warnings. Pri3

Comments

@n7800
Copy link

n7800 commented May 4, 2024

Type of issue

Typo

Description

In the example code, the second and last items in the array are repeated (\\127.0.0.1\c$\temp\test-file.txt):

string[] filenames = {
    @"c:\temp\test-file.txt",
    @"\\127.0.0.1\c$\temp\test-file.txt",
    @"\\LOCALHOST\c$\temp\test-file.txt",
    @"\\.\c:\temp\test-file.txt",
    @"\\?\c:\temp\test-file.txt",
    @"\\.\UNC\LOCALHOST\c$\temp\test-file.txt",
    @"\\127.0.0.1\c$\temp\test-file.txt" };

Page URL

https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats

Content source URL

https://github.com/dotnet/docs/blob/main/docs/standard/io/file-path-formats.md

Document Version Independent Id

716a28dc-360e-2964-47f5-0ff18bb00b1c

Article author

@adegeo

Metadata

  • ID: b74b99ff-32f8-c2d1-0a62-5907985f591e
  • Service: dotnet-fundamentals
@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label May 4, 2024
@issues-automation issues-automation bot added dotnet-fundamentals/svc Pri1 High priority, do before Pri2 and Pri3 labels May 4, 2024
@adegeo adegeo added doc-bug Problem with the content; needs to be fixed [org][type][category] help wanted Good for community contributors to help [up-for-grabs] good first issue Issue should be good for first-time contributors, with clear instructions and removed ⌚ Not Triaged Not triaged labels May 6, 2024
@adegeo
Copy link
Contributor

adegeo commented May 6, 2024

Thank you for reporting this issue!

@adegeo adegeo added Pri3 and removed Pri1 High priority, do before Pri2 and Pri3 labels May 6, 2024
@dotnet-policy-service dotnet-policy-service bot added the okr-health Content-health KR: Concerns article defects/freshness or build warnings. label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-bug Problem with the content; needs to be fixed [org][type][category] dotnet-fundamentals/svc good first issue Issue should be good for first-time contributors, with clear instructions help wanted Good for community contributors to help [up-for-grabs] okr-health Content-health KR: Concerns article defects/freshness or build warnings. Pri3
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants