Inline property initialisation and trailing comma
I find the above typo in my code quite a lot. I’m always suprised that the compiler doesn’t seem to care about this. Why is the above not a syntax errror? Because the people designing the C# syntax grammar were smart enough to learn the lessons from other programming languages which didn’t allow the dangling … Read more