What is double exclamation mark in C#?
This is a null-parameter check syntax which was going to be introduced in C# 11. This proposal has since been rolled back following community feedback. The proposal is here, and the PR doing a first roll-out to the runtime is here. The syntax: public void Foo(string bar!!) { } Is roughly equivalent to: public void … Read more