Je ne connais pas trop New Dictionary(Of Char, integer)
Module Module1 Sub Main() Dim MonDict As New Dictionary(Of Char, Integer) MonDict.Add(">", 0) MonDict.Add("0", 0) MonDict.Add("1", 1) MonDict.Add("2", 2) Dim PoidsCar As Integer PoidsCar = MonDict(">") Console.WriteLine(PoidsCar) Console.Read() End Sub End Module
PoidsCar = MonDict(">12")
PoidsCar = MonDict("> & 1 & 2")
PoidsCar1 = MonDict(">") PoidsCar2 = MonDict("1") etc...
PoidsTotal = PoidsTotal1 & PoidsTotal & etc....
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question