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.)

2 4 6 7
0
0
2467
0
0
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