One parameter is to put the array on one line, so the method is considered as one of the arguments. In your method, you can parse this one argument. Sort of:
"Item title, New task, 22, High Priority"
You can use your existing array by doing the following:
var arrAsOneString = string.Join(", ", arr);
Inside your method, do:
var values = argument.Split(',').Select(x => x.Trim());
I added cropping to get rid of the spaces.
source share