Patterns Journey
Property listOfEpcCertificates As New List(Of epc_certificate)
If TypeOf epcCertificate Is epc_domestic_certificate Then
Dim domesticCertificate As epc_domestic_certificate = CType(epcCertificate, epc_domestic_certificate)
Get's rid of the List(Of Object) problem, and adjust by type, with intelisense
Comments
Post a Comment