vb.net - Passing a new empty array as a parameter -
i have dictionary(of integer, string())
. when add new key want add empty array defined length it, can add , use values later on.
dim mydict new dictionary(of integer, string())() dim auxdata(24) string mydict.add(177, auxdata)
is there way add value dictionary
without need use variable use in value? declaring empty string array directly, specified length.
something like:
mydict.add(177, new string(24))
just add {}
after array.
mydict.add(177, new string(24){})
Comments
Post a Comment