▁num Do ors ; ▁▁▁▁ ▁} ▁} ▁ ▁/// ▁< summary > ▁/// ▁The ▁builder ▁abstra ction ▁/// ▁</ summary > ▁public ▁interface ▁I Car Builder ▁{ ▁▁▁▁ ▁string ▁Col our ▁{ ▁get ; ▁set ; ▁} ▁▁▁▁ ▁int ▁Num Do ors ▁{ ▁get ; ▁set ; ▁} ▁▁▁▁▁ ▁Car ▁Get Result (); ▁} ▁ ▁/// ▁< summary > ▁/// ▁Con crete ▁builder ▁implementation ▁/// ▁</ summary > ▁public ▁class ▁Ferr ari Builder ▁: ▁I Car Builder ▁{ ▁▁▁▁ ▁public ▁string ▁Col our ▁{ ▁get ; ▁set ; ▁} ▁▁▁▁ ▁public ▁int ▁Num Do ors ▁{ ▁get ; ▁set ; ▁} ▁▁▁▁▁ ▁public ▁Car ▁Get Result () ▁▁▁▁ ▁{ ▁▁▁▁▁▁▁▁ ▁return ▁Num Do ors ▁== ▁ 2 ▁? ▁new ▁Car (" F err ari ", ▁" 4 8 8 ▁Spider ", ▁Col our , ▁Num Do ors ) ▁: ▁null ; ▁▁▁▁▁▁▁▁▁▁▁▁ ▁} ▁} ▁ ▁/// ▁< summary > ▁/// ▁The ▁director ▁/// ▁</ summary > ▁public ▁class ▁Sports Car Build Direct or ▁{ ▁▁▁▁ ▁private ▁I Car Builder ▁_ builder ; ▁▁▁▁ ▁public ▁Sports Car Build Direct or ( IC ar Builder ▁builder ) ▁▁▁▁▁ ▁{ ▁▁▁▁▁▁▁▁ ▁_ builder ▁= ▁builder ; ▁▁▁▁ ▁} ▁▁▁▁▁ ▁public ▁void ▁Con struct () ▁▁▁▁ ▁{ ▁▁▁▁▁▁▁▁ ▁_ builder . Col our ▁= ▁" Red "; ▁▁▁▁▁▁▁▁ ▁_ builder . Num Do ors ▁= ▁ 2 ; ▁▁▁▁ ▁} ▁} ▁ ▁public ▁class ▁Client ▁{ ▁▁▁▁ ▁public ▁void ▁Do Something With C ars () ▁▁▁▁ ▁{ ▁▁▁▁▁▁▁▁▁ ▁var ▁builder ▁= ▁new ▁Ferr ari Builder (); ▁▁▁▁▁▁▁▁