1.

Write a C# program to find the substring from a given string.

Answer» INTERNAL static VOID findallsubstring(STRING STR) { for (int i = 0; i &LT; str.Length; ++i) { StringBuilder subString = new StringBuilder(str.Length - i); for (int j = i; j < str.Length; ++j) { subString.Append(str[j]); Console.Write(subString + " "); } } }


Discussion

No Comment Found