I’m trying to convert an array into a string, but place separators in specific places instead of after each element.
I know I can do this:
int[] array = new int[]
String result = String.Join(String.Empty, array);
How can I change this code so I can choose where to place my separators?
New contributor
roro is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.