The code below writes results to the Output window
System.Diagnostics.Debug.WriteLine(“Cost : “ + orginalCost+" "+stockItem);
In which way can I modify this code so it produces a csv file instead