# inherit and refer to qualified classes class MyList inherits System.Collections.ArrayList pass class Program def main t as MyList = MyList() t.add(1) t.add(2) .runTest(t) def runTest(t as System.Collections.IList) assert t.count == 2 value as Object = Object() if value inherits System.Collections.IList assert false