Program.cs file contains the application startup code.
The main method of Program.cs file is the entry point of application.
From .NET 6.0, the startup class code is merged in Program.cs file and therefore there is no separate Startup.cs class.
Tags:
.NET Core Basic