Quiz #5

1. Declare an integer array (called xyz) of size 10 elements. Initialize the i-th element of xyz to contain the value i. Then write a for loop that will reverse the elements of the array xyz. (Do not use the built-in C# Reverse method.)

2. Write a class named Person that will store a person's first and last name as strings. Show how to create a new object of this Person class using the supplied zero-parameter constructor. The new object should be stored in an appropriately declared variable named John.