© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
30 replies
scixing

Is there a way to call generic methods through Type (from typeof or GetType) (without reflection)

like
T Create<T>();
Type a = typeof(xxx);
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

❔ Invoking internal methods without reflection?
C#CC# / help
3y ago
Is there a good way to use a object from Type Type in a generic method?
C#CC# / help
4y ago
❔ Is there a way to remove brackets from empty methods?
C#CC# / help
4y ago
✅ Getting generic type parameters using reflection
C#CC# / help
3y ago