Text - NKS0001
Use TextTools.FormatString() instead of string.Format()
Context
String
Extended Description
Analysis Comparison
Before the fix
public static void MyFunction() =>
TextWriterColor.Write(string.Format("Hello, {0}!", "Nitrocid"));After the fix
public static void MyFunction() =>
TextWriterColor.Write(TextTools.FormatString("Hello, {0}!", "Nitrocid"));