Loading
2 posts about Runtime type checking by 2 contributors.
Know Runtime type checking? Share what you know with developers who are learning it.
Understand the differences between var, object, and dynamic in C#, including compile-time typing, runtime binding, boxing, performance, and practical use cases.
In C#, the "is" operator checks if an object is of a specified type, returning a boolean. The "as" operator attempts to cast an object to a specified type, returning null if the cast fails. Both operators facilitate safe type conversions and runtime type checking, enhancing type safety and reducing exceptions in object-oriented programming.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article