ambreesh
August 10th, 2006, 08:09 PM
Hi
2 questions
1. does name value collection guarantee to maintain, the order of the elements?
2. I had a problem using the name value colleciton in which one of the name's overrode the other one. for example.
dim namevaluecollection as new namevaluecollection // bear with me as this is vb.net syntax.
and if I say namevaluecolleciton.add("move in", "test")
and namevaluecollection.add("move in", "solidtest")
the final output of the namevaluecolleciton is
name - "move in" value - "solidtest"
could someone explain this behaviour?
thanks
2 questions
1. does name value collection guarantee to maintain, the order of the elements?
2. I had a problem using the name value colleciton in which one of the name's overrode the other one. for example.
dim namevaluecollection as new namevaluecollection // bear with me as this is vb.net syntax.
and if I say namevaluecolleciton.add("move in", "test")
and namevaluecollection.add("move in", "solidtest")
the final output of the namevaluecolleciton is
name - "move in" value - "solidtest"
could someone explain this behaviour?
thanks