Write a C# program to check whether a given substring is present 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 used Visual Studio 2012 for debugging purpose. But you can use any version of visul studio as per your availability..
Result:
Enter the string : techstudy - the complete debugging solution
Input the substring to search : techstudy
The substring exists in the string.
need an explanation for this answer? contact us directly to get an explanation for this answer