This is for C# 3.5
I have ICollection that I'm trying to split into separate ICollections where the delimiter is a sequence.
For example
ICollection<byte> input = new byte[] { 234, 12, 12, 23, 11, 32, 23, 11 123, 32 };
ICollection<byte> delimiter = new byte[] {23, 11};
List<IICollection<byte>> result = input.splitBy(delimiter);
would result in
result.item(0) = {234, 12, 12};
result.item(1) = {32};
result.item(2) = {123, 32};