ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Code inspection: Use 'is' operator

Last modified: 30 July 2024

This inspection suggests replacing IsInstanceOfType() invocations with the is keyword. Both ways of checking the object type are identical performance-wise, but is keyword is better in terms of readability.