title: Why Doesn't have any Class in Program.cs in .NET Core 5?
body: <p>I am trying to work with .NET 5 to update my information. So I started to review the <em>eShopOnContainers-ServicesAndWebApps</em> project <a href="https://github.com/dotnet-architecture/eShopOnContainers" rel="nofollow noreferrer">here</a>.</p>
  <p>I have read its older versions (2.2 and 3.1) that is a rich sample with a lot of fantastic points. But <a href="https://github.com/dotnet-architecture/eShopOnContainers/blob/dev/src/Services/Identity/Identity.API/Program.cs" rel="nofollow noreferrer">here</a> in .NET 5, at first glance, in <code>Program.cs</code>, I see a lot of methods and properties without any classes which I can't understand and make me confused. How can we have methods without class in a cs file?</p>