I have new array initialised as below:
string[] someNames = new string[] { "John", "Bryan", "Annete", "Mathiew", "Joseph", "Donald", "Tom" };
string[] someNames = { "John", "Bryan", "Annete", "Mathiew", "Joseph", "Donald", "Tom" };
What is the difference? Both gives same result. I thought second one would throw an error. Why both works and which one is preferred or more correct?