G
Gilbert
H,
i'm starting with asp.net/vb.net and have some questions about arrays and
collections:
1) what's the difference between:
dim x() as string
and
dim x as array
2) can variable 'x' in the second case contain anything (string, integer
.... together)?
3) what is the correct syntax?
dim x as arraylist
or
dim x as arraylist()
4) what to choose between:
dim x as array (or if no difference dim x() )
and
dim x as arraylist
5) what to choose between:
dim x as arraylist
and
dim x as list(of string)
Thanks for helping me.
Gilbert
i'm starting with asp.net/vb.net and have some questions about arrays and
collections:
1) what's the difference between:
dim x() as string
and
dim x as array
2) can variable 'x' in the second case contain anything (string, integer
.... together)?
3) what is the correct syntax?
dim x as arraylist
or
dim x as arraylist()
4) what to choose between:
dim x as array (or if no difference dim x() )
and
dim x as arraylist
5) what to choose between:
dim x as arraylist
and
dim x as list(of string)
Thanks for helping me.
Gilbert