My understanding is that an Interface does not have memory allocated like a class's object does.
The clipboard rerurns an IDataObject which I assume is an object not an interface even thought it's name starts with an I.
Correct?
Consider the following:
Dim dict As IDictionary = CType(Activator.CreateInstance(tGeneric), IDictionary)
It appears an object is being created and typed an interface.
Data is then added to the interface, but I thought an interface was simply a recipe with no memory allocated.
If it's actually an object not simplty a recipy, how does the above differ from:
Dim dict = New Dictionary...?
Help!!
The clipboard rerurns an IDataObject which I assume is an object not an interface even thought it's name starts with an I.
Correct?
Consider the following:
Dim dict As IDictionary = CType(Activator.CreateInstance(tGeneric), IDictionary)
It appears an object is being created and typed an interface.
Data is then added to the interface, but I thought an interface was simply a recipe with no memory allocated.
If it's actually an object not simplty a recipy, how does the above differ from:
Dim dict = New Dictionary...?
Help!!
Last edited: