Published On Dec 8, 2023
Visual Studio gives us lots of hints on how to improve our code. Mostly it's right. Sometimes it's dead wrong.
Source code available at: https://github.com/JasperKent/Spread-...
Topics include:
- The various ways of creating an empty array
- The performance benefits of using a predefined empty array
- How all ways of creating an empty string work the same way
- Benchmarking of spread operator performance against alternatives
- Bad advice from Visual Studio
show more