Today I learned about the 'in' modifier in C#. I've been using C# for years and I only recently encountered that this is possible.
It is a real niche usecase but was surprised nonetheless. Never too old to learn!
#csharp
#dotnet
learn.microsoft.com/en-us/dotnet...
Parameter modifiers enable pass-by-reference semantics, with distinctions for read-only, and `out` parameters. The `params` modifier allows optional arguments.