Problem statement
We want to process numbers and categorized them into categories. This could be any data and we want to classify them based on requirement. Just to create small proof of concepts here is the sequence of numbers and idea is to classify them into even, odds and so on.
Solution Statement
Linq Aggregate with Union to show them all.
Class Diagram
Implementation Details
Number Class
Enum NumberType
NumberGroup Classes
INumberGroup
NumberFilter Class
Main Calling Function
This is it!
No comments :
Post a Comment