Este conteúdo não está disponível no idioma selecionado.

Chapter 3. Creating an application using .NET 10.0


To ensure your development tools are properly configured, you can create a basic "Hello World" application. This process tests the core functionality of the .NET SDK, ensuring that you can successfully generate, build, and run projects from the command line.

Learn how to create a C# "Hello World" application.

Prerequisites

  • Installed .NET 10.0 SDK

Procedure

  1. Create a new console application in a directory named <my-app>:

    $ dotnet new console --output <my-app>
  2. Run the application from its project directory:

    $ dotnet run --project <my-app>

Verification

  • Verify that the application runs and displays the expected output:

    Hello World!
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a documentação da Red Hat

Legal Notice

Theme

© 2026 Red Hat
Voltar ao topo