Dim jzd As new Dictionary(of String,String) Dim gks() As String = {"rep","cou","sta","cit","key","quoid","soid"} For i As Integer = 0 To gks.Length - 1 Dim sz As String = IIF(1>2,"a",gks(i)) If jzd.ContainsKey(gks(i))Then jzd(gks(i))=sz Else jzd.Add(gks(i),sz) End If Next