Skip to content

Tutorial incorrectly states it does not use top-level statements #47965

@MarcosDev98

Description

@MarcosDev98

Type of issue

Outdated article

Description

The article states that the tutorial does not use the top-level statements feature in C#. However, when creating the project following the provided steps, the generated code does use this feature.
Example of the default generated code:
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
This contradicts the current description and suggests that the article is outdated regarding the current .NET templates.

Page URL

https://learn.microsoft.com/es-es/dotnet/core/tutorials/with-visual-studio-code

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/tutorials/with-visual-studio-code.md

Document Version Independent Id

25a4c9b9-2808-e296-df03-5837000dcbad

Platform Id

05570482-5e6a-d509-7ef2-9d534dfebc20

Article author

@tdykstra

Metadata

  • ID: 8cc2e9c-f333-f6a1-064e-790d950b684c
  • PlatformId: 05570482-5e6a-d509-7ef2-9d534dfebc20
  • Service: dotnet-fundamentals

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions