Quickly change the Startup Object (entry point) of a project to the desired class.
This command is similar to "Set as Startup Project" but is designed for setting a class as an entry point at the project level, allowing multiple Main methods across different .cs files.
How It Works
When the command is executed, the selected class is set in the respective project as the <StartupObject>. This is a compiler option that specifies the entry point of the application.
Shortcut
Use Alt+F5 to set the active file OR the selected file in Solution Explorer as the Startup Object.
Limitations
Doesn't work with top-level statements, since there is a limitation of only one top-level file per application.