write code to display the string in the array and count if there are duplicate words - eg. string arr="john anne john john anne"
Sigiloso
for this you might wanna use linq query as that's what they expected....... first split words, then use groupby to group duplicate words then use count method to count grouped words