You don't like the new ConsoleApp Template in VS2022?

The new version of .NET 6.0 is the great one. I love it. Also the new Visual Studio 2022 (v17) is the great one. However the preassure of the new developers who do not originate from the Microsoft eccosystem was huge. Many yound developers who play with node or other modern languages find the default minimal application of C# very complicate.

That means, this is how the default console application in C# looks like:

namespace Daenet.ScannerConsole
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, World!");
        }
    }
}

Youn developers and student find this too complicate. Ok, no problem the Product Group has changed this to looks like:

// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

Single line of code is the absolute minimum, I agree. :)

But, expirienced developer don't like magic. They want to see what they deal with. They have complained about new simplified templates. So, the Product Group made the option to select the project template you want to use.

If you want to use old (good) style template, please select "Do not use top-level statements".

This will enforse using of the old console app template.