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.
To create a variable that will point to a dynamically allocated array, declare it as a pointer to the element type. For example, A dynamically allocated array is declared as a pointer, and must not use the fixed array size declaration. The above declaration creates a pointer, but doesn't yet allocate any memory to it. When the desired size of an array is known, allocate memory for it with the new operator and save the address of that memory in the pointer. Remember: Pointers may be subscripted just as arrays are. The example below reads in a number and allocates that size array.