ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Code inspection: Redundant 'string.Format()' call

Last modified: 08 April 2024

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.