Extract a substring from a string without using the library function.[C# Console Application]

Published --