How can I use a dynamic as a generic?
This
var x = something not strongly typed; callFunction();
and this
You should be able to call the function like this
callFunction();
If your function is defined as
public void callFunction(T arg) { ... }
You can simply call it with
callFunction(x);
C# is able to infer generic type parameters in many situations.