18-01-20, 07:38 PM
هذا الكود يجد عدد العناصر المكررة في listbox
PHP كود :
Dim r = ListBox1.Items.Cast(Of String).GroupBy(Function(x) New With {Key x}).Where(Function(g) g.Count > 1).Count
MsgBox(r)
