We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Andreas B. Hassing • 6 years ago

What about just using:
if (x is MyClass mc) { mc.MyMethod(); }

Shadman Kudchikar • 6 years ago

Updated the article thanks for suggestion!