How find first checked item index in a c# checkedlistbox with lambda -


i need set selectedindex of mycheckedlistbox first checked item index of list , highlight it.

how write lambda expression select min index of mycheckedlistbox.checkeditems alternate using loop.

you don't need lambda or loop. selectedindex property that.

from msdn:

listcontrol.selectedindex property
gets or sets lowest ordinal index of selected items in list.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -