Write a C# program to compare (less than, greater than, equal to ) two substrings
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:
str1 = 'computer', str2 = 'system'
Substring 'mp' in 'computer' is less than substring 'sy' in 'system'.
need an explanation for this answer? contact us directly to get an explanation for this answer