QuackatronHQ / Gigarepo

.ToString on an array does not stringify its contents CS-W1020
Bug risk
Major
3 days ago2 years old
Incorrect stringification of Array
 9        // CS-W1020: Calling `.ToString()` on an array does not stringify it.
10        // https://deepsource.io/directory/analyzers/csharp/issues/CS-W1020
11        var arr = new[] {1, 2, 3, 4, 5};
12        Console.WriteLine($"Array is {arr.ToString()}");13
14        var name = "Joe";
15        // CS-W1000: Missing arguments to interpolation.