Write a C# program to find the number of times a substring appears in the given string
belongs to collection: All String programs in C# with examples
All Answers
total answers (1)
belongs to collection: All String programs in C# with examples
total answers (1)
I have use Visual Studio 2012 for debugging purpose. But you can use any version of visul studio as per your availability..
Result:
Input the original string : techstudy - the compelte debugging solution
Input the string to be searched for : techstudy
The string 'techstudy' occurs 1 times.
need an explanation for this answer? contact us directly to get an explanation for this answer