Well no. You just need to use reflection for each step - the compiler is sure that it will not help you :)
" " - - , , . , , , , , .
, #. , , :
if (responseObject != null && responseObject.GetType().Name == "ConnectStream")
: , System.Net ConnectStream , Type . .