null forgiving operator

! is the null forgiving operator

The null forgiving operator tells the compiler "shut up, I know this could be null but in this instance it will never ever be null, so stop complaining". Which, fun fact, if it can be null because you forgot something means that you get NullReferenceExceptions in your deployed code.