using System;
public class Program
{
public static void Main()
string strA = "1,2/3#4,5,6";
char[] separators = new char[] {',', '/', '#' };
string[] strArray = strA.Split(separators);
foreach (string str in strArray)
Console.Write(str); // Prints horizontally
}