Che dire... a me fa un po' paura... però... vedete
voi...
...Yesterday I read a post by Martin Fowler on implicit interface implementation which proposes that languages gain (or regain, in VB’s case) some of that IDispatch-like behaviour. A follow-up to it by Wesner Moise mentions that VB9 will support dynamic interfaces, which is basically a way to formalize compile-time assumptions about objects you encounter at runtime. It’s like casting the object to an interface that it might not explicitly implement. The actual compatibility check is performed at runtime, when an actual call to a method in the dynamic interface is made. This is also known as duck typing ...
Leggetelo tutto alla fonte: The return of IDispatch?