class Test def main is shared t as IList = List() assert t.count==0 assert not t.count t.add('aoeu') assert t.count==1 s = 'xyz' s = t[0] # index an IList assert s == 'aoeu' u as IList = List() u.add(1) u.add(2) assert u.count==2 assert u[0]==1 assert u[1]==2 i = 9 i = u[0] assert i == 1