public static BeforeLast ( this |
||
collection | this |
|
return | void |
public static void BeforeLast(this Collection<Instruction> collection, params Instruction[] instructions)
{
var index = collection.Count - 1;
foreach (var instruction in instructions)
{
collection.Insert(index, instruction);
index++;
}
}