Kiran Ramamoorthy

Greenhorn
+ Follow
since Nov 22, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kiran Ramamoorthy

We should use the builder pattern here for the following reasons.

a) To separate the construction process of the computer from its representation. This gives us the better control to keep the assembling process separately from the end object type.

b) Because we need to assemble several kinds of computer propreties objects like CPU, Monitor etc but result in a different object type (like ComputerModel based on assembled properties).

Example: http://www.c-sharpcorner.com/Code/2002/Feb/CreationalPatternBuilderAJ.asp

Regards,
Kiran.