Multiple Choice
Look at the following code sample: struct Pet
{
Public string name;
Public int age;
Public string type;
}
List<Pet> birdList = new List<Pet>() ;
Pet parrot = new Pet() ;
Which one of the following statements adds the Pet structure named parrot to the List object named birdList?
A) birdList.Add(parrot) ;
B) Add(birdList.parrot) ;
C) birdList[parrot];
D) birdList[0] = parrot;
Correct Answer:

Verified
Correct Answer:
Verified
Q2: When you create a structure object with
Q3: If you pass an uppercase letter to
Q4: The _ can be used to retrieve
Q5: Which one of the following character testing
Q6: You can use a subscript expression such
Q7: Which one of the character testing methods
Q8: The _ data type is used to
Q9: You can assign an enumerator directly to
Q10: The fields contained in structure must all
Q11: Once you have created an instance of