This is an exercise for this YouTube video.
Happy learning and good luck!
[qsm quiz=5]
Assignment: Create 2 identical arrays – one will be “filled up” manually and the other one will use the collection initializer.
Click to see the answer
int[] myArray = new int[2]; myArray[0] = 5; myArray[1] = 10; int[] myCoolArray = {5, 10};