The C# code:
Returnvalue.Append($“{Params[0]}.Base {MethodName} {Params[1]}.Base”);
is converted to:
Returnvalue.Append(String.Format(‘{0}.Base {1} {2}.Base{3}’, &Params[0], MethodName, &Params[1]));
First error: there is a {3} added that is not in the original
Second error: It should be pasted as interpolated string instead of String.Format.