polymorphism

  1. C

    Question List to IList Polymorphism Attempt results in InvalidCastException?

    In a program I am writing (in VB.NET, 2008), I have 2 classes, "Receipt" and "Group", each with similar properties, both implementing a custom interface entitled "IIDUser". In my program, I have a number of lists of "Receipt" and "Group", declared like: Friend receipts as List(Of Receipt) I...
Top Bottom