© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
63 replies
❓𝙋𝙮𝙩𝙖𝙟𝙣𝙞𝙠 🩷

Double check if an object is one of provided types

Is there a way to quickly check that? I mean
a
a
can be either TextBox or CheckBox, doesn't matter which one, I want this condition to success if one of these
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Check if an object is a Dictionary of any type
C#CC# / help
2y ago
✅ object types?
C#CC# / help
3y ago
✅ Check if an item is in a list
C#CC# / help
2y ago
Object reference set to an instance of an object.
C#CC# / help
3y ago