User1520731567 posted
Hi webdeveloper2016,
According to your descriptions,I suggest you need to keep in mind your
type.
Because there are something wrong during the iteration.
MyStringBuilder.Append(string.Join(";", adjustments));
string.Join function can't know what do you wan to iteration in adjustments which is a dictionary type with Key and Value.
So,I suggest you could add wrap the loop outside the function,for example:
foreach (var res in adjustments )
{
MyStringBuilder.Append(res.Key + " : " + string.Join("#", res.Value.Select(x => x))+";");
}
the output in my project:

Best Regards.
Yuki Tao