Hi All,
I'm using C# 2.0. I want to produce code like this:
to get total cars that has color red.
How do i design my classes.
I know i can do it using ADO.NET classes, but i want to know how to do it purely in object oriented style.
Many thanks.
e7
I'm using C# 2.0. I want to produce code like this:
Code:
int cnt = Products("Car").Color("Red").Count();
to get total cars that has color red.
How do i design my classes.
I know i can do it using ADO.NET classes, but i want to know how to do it purely in object oriented style.
Many thanks.
e7
Comment