Carving is one of the oldest sculptural techniques. It is a subtractive process; starting with a solid block, the sculptor removes material using chisels and other tools to 'reveal' the finished form. Traditional carving materials include stone, especially marble, and fine grained woods.
In the previous code snippet, we saw how to define a simple array of integer type. Similarly, we can define arrays of any type such as double, character, and string. In C#, arrays are objects. That means that declaring an array doesn't create an array. After declaring an array, you need to instantiate an array by using the new operator. The following code snippet defines arrays of double, char, bool, and string data types.
Creating, Initializing, and Accessing an Array. One way to create an array is with the new operator. The next statement in the ArrayDemo program allocates an array with enough memory for 10 integer elements and assigns the array to the anArray variable. // create an array of integers anArray = new int[10];