Hi all,
More of general question, than just about drop down objects, but that's where I noticed first, so I'm using that as my example.
In the project I am working on, one of the programmers created a new drop down item using
new ListItem() {Text = "stuff", Value="someValue"};
I always used
new ListItem("stuff", "someValue");
Is there a difference or a reason why you would use one over the other? They both seem to end up with the same object. Maybe there is no difference, not really sure. The only reason that I can see it being more helpful is that if you don't know the fields in the way I'm using it, the first way clearly spells it out.
So any thoughts would be great.
Thanks
Croker10