I come from Kotlin where code just works and where you generally don't have any NPE in running code. I am wondering if something similar exists in Xamarin.Android.
Take the onCreate function which takes a nullable Bundle. In C#, this variable isn't annotated as nullable. As such, you may receive a NPE in running code. The compiler doesn't warn you. As a developer, you just need to know that this variable may be null.
How can I force Visual Studio or the compiler to detect me misusing nullable variables to prevent runtime errors?