FINDING DUPLICATE VALUES AND COUNT THEM IN AN ARRAY LIST USING VB.NET PROGRAMMING LANGUAGE

  • Thread starter Thread starter Clemence Mligo
  • Start date Start date
C

Clemence Mligo

Guest
Hi friends!

Let say i have an array of string like this below:

Dim mystring() As String = {"Jumanne", "Joanthan", "Patricia","Joanthan","kikele","Jumanne","Albashir","kikele","Patricia"}

(1) How to find if there are duplicate values inside this array and if found count to get the frequency of each repeating values?

(ii) How to store to a variable the number of times/frequency each of the counted values duplicates?

(iii) Can a single variable be used store all the number of times each of the counted values duplicates/frequency. How??



I hope there are people around here who understands this but people like myself are still new to programming.

Please help any ideas

Continue reading...
 
Back
Top