Thursday, September 10, 2020

Best way to create an empty collection (array and list) in C# (.NET)

very helpful article on initializing arrays and lists
For array will be the best - new TestArray[] { }
For list - new List()

No comments:

Post a Comment