Code Inspection: Redundant string.Format() call
Last modified: 21 July 2022tip
The String.Format()
method is redundant if you use Console.WriteLine()
. Console.WriteLine()
actually has an overload that calls String.Format()
before writing the result to the output stream.