我有类似的课程:
Public Class Foo
Public Item As String
Public StorageLocation As String
Public NewQuantity As Double
Sub New(item As String, location As String, quantity As Double)
Me.Item = item
Me.Location = location
Me.NewQuantity = quantity
End Sub
End Class
我希望有一个通用列表,我可以在其中选择具有唯一Item&组的唯一对象。地点。这可能吗?