In a SelectList
object, I want that the Text property of each element of the SelectList should also be the value. For eg:
SelectList s=new SelectList(some list);
s.ElementAt(i).Value=s.ElementAt(i).Text;
Is there any way to do this APART from using a loop? Is there any inbuilt method or something like that to accomplish this?