* In todays class, after the Chapter 8 test, we talked in more detail about arrays.
* An array is a variable that can store more than one value.
* Each item in an array that contains a value is called an element.
* Arrays provide access to data by using a numeric index to identify each element.
* To initialize an array you must write a declaration statement that includes the name of the array, how many items it has to store, and what sort of data it can store.
* Setting the size of an array is called dimensioning the array.
* If you know the values to be placed in each element you can declare the the array by assigning values to the elements.
* Parallel arrays store data in two or more arrays.
* If a number is not used int he declaration statement the array us implicitly sized, i.e. the number of values is determined at execution.
* The other aspects of arrays covered in Chapter 9 are:
1. Initializing an array with default values.
2. Accessing array elements using a loop.
3. Array boundaries.
4. Reinitialising an array.
5. Using the length property.
6. Scope of arrays.
7. Passing an array.
8. Sorting an array.
9. Searching an array.
10. Two dimensional arrays.
Element Naming Techniques in ASP.NET
15 years ago

No comments:
Post a Comment