I like to send a generic type converter function to a method but I can\'t figure out how to do it.
Here\'s invalid syntax that explains what I like to achieve, the p
public void SomeUtility(Func converter) { var myType = converter("foo"); }
and then:
SomeUtility(arg => new MyType());
The generic type inference will work in this case.