From Dev.to
How Glass recovers primary constructor parameters
C# 12 lets you write a class header that doubles as its constructor: public class OrderProcessor(int retries, ILogger log) It reads as if retries and log are fields of the class. They are not — not n...
