私は以下を返したいですtrue
:
var isIt = IsDisposable(typeof(TextWriter));
どこ:
bool IsIDisposable(Type t){
???
// I tried:
//return t.IsSubclassOf(typeof(IDisposable)); //returns false
// the other t.IsXXX methods don't fit the requirement as far as I can tell
}