Why not assignable?

A

Armin Zingler

Hi,

Dim l1 As IList(Of IList)
Dim l2 As New List(Of List(Of Integer))

l1 = l2

Why is the assignment not compilable? Every List(Of) implements IList.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top