null-forgiving operator
A ! after an expression that tells the compiler "trust me, it isn't null".
The postfix ! operator suppresses nullable warnings for an expression; it has no run-time effect and checks nothing.
Examples
string key = settings["ApiKey"]!;stops the warning; nothing is checked when the program runs.
See also