J
jg
Im not a beginner in vb.net, but I never asked myself what is the difference
between folowing lines of code:
1.)You add a object to an array/arraylist/collection (lets take arraylists)
myArrayList.add(myobject)
Question: what is the difference if you handle myobject form myArrayList
like this :
a)ctype(myArrayList(0),object).value = something (directly from array
list)
or like this
b)object.value = something
I hope you understand what Im trying to ask, what is the difference if you
handle a object that is stored in a arrayList direct a array (probably using
Ctype), or that you handle it directly after you add it to array (in both
cases).
Thanks
between folowing lines of code:
1.)You add a object to an array/arraylist/collection (lets take arraylists)
myArrayList.add(myobject)
Question: what is the difference if you handle myobject form myArrayList
like this :
a)ctype(myArrayList(0),object).value = something (directly from array
list)
or like this
b)object.value = something
I hope you understand what Im trying to ask, what is the difference if you
handle a object that is stored in a arrayList direct a array (probably using
Ctype), or that you handle it directly after you add it to array (in both
cases).
Thanks