This question is locked. New answers and comments are not allowed.
Hi, JustCode does not seem to know the format overload of Console.WriteLine(). Therefore it tries to suggest for working code something which does not work. In the example below, Telerik shows as fix: "Move to Parameter" or "String.Format". If String Format is choosen, the working one is translated to a string.Format with null values. (Is there any possibility to show which rule marks a line as bad line?) Best regards, Wolfgang Original Code:Suggested Code by JustCode:Console.WriteLine(
"Value for {0} \t: {1}"
, somename, somevalue);
Console.WriteLine(String.Format(
"Value for {0} \t: {1}"
,
null
,
null
), somename, somevalue);