.NET Framework
Results of Polish Cash Lottery (Duży Lotek)
- Create a class named SampleDoIt for
this program
- The class must compile successfully with the code from program.cs file
(the code in this file cannot be changed)
- Iterating through an instance of the class using foreach statement is probably
the most difficult, so you should consider to try to do it at the end
- The data is here
- Each line of the file contains results of one draw
- There are 8 columns: draw number, date of a draw and 6 drawn numbers
(each number is from range [1, 49])
- There are no days with two or more draws
- Approximate points:
- proper internal data structure for storing results of draws
in an efficient way: 1.0
- loading results from the file: 1.5
- GetNumberOf... methods: 3.0
- GetNumberForDate method: 1.5
- iterating using foreach statement: 3.0