c# - Two different generic types as result and parameter -


with method can return unknown data type :

private t call<t>(uri uri) t:new()  { } 

but how pass unknown data type (not same) parameter :

private t call<t>(uri uri, ??? parameters) t:new()  { } 

add generic type parameter:

private t call<t, tother>(uri uri, tother parameters) t:new()  { } 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -