How to convert string to string array without using split function?
Answers
Answered by
1
This works because string implements IEnumerable<char>. So Select(c => c.ToString()) projects each char in the string to a string representing that charand ToArray enumerates the projection and converts the result to an array of string.
HOPE IT WILL HELP U DEAR ♥️
HOPE IT WILL HELP U DEAR ♥️
Similar questions