PrepAway - Latest Free Exam Questions & Answers

How should you complete the relevant code?

DRAG DROP
You are developing a C# application. The application includes a class named Rate. The following code
segment implements the Rate class:

You define a collection of rates named rateCollection by using the following code segment:
Collection<Rate> rateCollection = new Collection<Rate>() ;
The application receives an XML file that contains rate information in the following format:

You need to parse the XML file and populate the rateCollection collection with Rate objects.
How should you complete the relevant code? (To answer, drag the appropriate code segments to
the correct locations in the answer are
a Each code segment may be used once, more than once, or not at all. You may need to drag the
split bar between panes or scroll to view content.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

3 Comments on “How should you complete the relevant code?

  1. Lord Vader says:

    XmlReader Methods

    ReadToFollowing Method
    Reads until the named element is found.

    MoveToNextAttribute()
    moves to the next attribute.

    MoveToFirstAttribute()
    When overridden in a derived class, moves to the first attribute.




    0



    0

Leave a Reply