© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
27 replies
Dilly

❔ Comparing Types using local var Type type

Hello, I am trying to write a method comparing types to clean up my code. I am trying to use a single method to sort through a list and pull out specific elements by type. (type being a child class of the lists type)
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Comparing types when using reflection
C#CC# / help
4y ago
Using 'var' instead of explicitly stating the type
C#CC# / help
6mo ago
✅ comparing variables
C#CC# / help
9mo ago
❔ comparing classes
C#CC# / help
3y ago