Report question

Question: How to emulate C# as-operator in Java