Este contenido no está disponible en el idioma seleccionado.

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>
    Copy to Clipboard Toggle word wrap
  2. Run the application from its project directory:

    $ dotnet run --project <my-app>
    Copy to Clipboard Toggle word wrap

Verification

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

    Hello World!
    Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2026 Red Hat
Volver arriba