DEV Community

Discussion on: Universally quantified types in C#

 
shimmer profile image
Brian Berns

You got it. That interface is exactly what I'd suggest. You're still passing in the function, just with one level of indirection. It's a bit more verbose, but not too bad, I think. Nice work!