C#C
C#3y ago
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) 

Where T is a type I pass in
Was this page helpful?