Don’t do that #15: Use Add method when creating an array with multiple elements

By | April 10, 2015

Don’t do that: An empty array is created and then the elements are added.

Do that: There are several ways to do that with one-liners:


Leave a Reply

Your email address will not be published.