Counting words in the list Using c#
Counting words in the list Using c#
I have a list,im storing the value like
list[0]="sun"
list[1]="moon"
list[2]="Alpha"
list[3]="Sun"
list[4]="Sun"
list[5]="Moon"
i want the output like
word count
=============================
sun 3
moon 2
Alpha 1
please anyone help me to do this.