© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
12 replies
Mango
✅ generic mess
If I have a type that takes
<T
, E
> is there a way to return T generically I
.E
.
private async Task<Result<T, string>> Get<T>(T type)
private async Task<Result<T, string>> Get<T>(T type)
Where T is a type I pass in
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
❔ Array mess
C
C# / help
3y ago
✅ Why is this generic mess invalid? ('Does not implement interface' error)
C
C# / help
8mo ago
❔ generic class in generic method
C
C# / help
3y ago
Generic Interfaces
C
C# / help
3y ago