using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main()
string sequencedNumberList = "A| 1| 2| 3| B";
List<int> layerNumbers = sequencedNumberList.ToIntList('|');
// This will display the contents of Sequence Numbers
}