Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 269 Bytes

MA0044.md

File metadata and controls

13 lines (10 loc) · 269 Bytes

MA0044 - Remove useless ToString call

string.ToString is a no-op call. You should remove the call to ToString().

var str = "abc";
Console.Write(str.ToString()); // non compliant
var str = "abc";
Console.Write(str); // compliant