Forums - C# Corner

Forum guidelines
Vishal Dusane

Vishal Dusane

  • 1.1k
  • 264
  • 10.5k

find the occurance of characters in a string using c#

Apr 21 2017 5:26 AM
suppose I have the string like
string str="VAARONASSTGSO";

if the same character are appears in sequence then consider their count at once,in above string AA appears in sequence then consider their count at one.

V=1
A=3
R=1
O=2
N=1
S=2
T=1
G=1

Answers (3)

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!