csharp quick "is" "as"
Code Example - csharp quick "is" "as"
if (randomObject is TargetType tt)
{
// Use tt here
}
if (randomObject is TargetType tt)
{
// Use tt here
}