Simple Short Question What exactly is the difference between

int[] intarray = new int[2]{1,2};

and

int[] intarray2 = {4,5,6};

Like what does the "new" do exactly? and do you really need it?

Im guessing it just allocates memory.....or something? Sorry im completely new to C# and have questions as I go about learning it.

Edit
Report