C#

C#

Made by DeepSource

Consider using more appropriate overload StringBuilder.Append(char) CS-P1017

Performance
Critical

The Append() method in StringBuilder has overloads that accept both string and char. If you wish to append a single char, consider calling Append(char) over Append(string) as the former is more performant.

Bad Practice

stringBuilder.Append("a");

Recommended

stringBuilder.Append('a');

Reference