C# for a pipeline