Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat Dokumentation

Legal Notice

Theme

© 2026 Red Hat
Nach oben