Click here to Skip to main content
15,902,112 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,
I have a doubt regards in design pattern...
Can you please explain that necessity and simple explanation with sample
c# code.

Thanks and regards,
senthil J
Posted

Start here: Design Patterns[^]
 
Share this answer
 
Comments
senthil_jagadeesan 23-Sep-10 11:22am    
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
In brief, design patterns are tried and tested methods in the world of software development. The idea is that any system that is being designed through Object Oriented Programming, can take a leaf out of already existing tried and tested methods. These methods are called design patterns. There are more than 20 Design Patterns recognised. The most commonly used are - Singleton, Factory, Abstract Factory, Observer, etc. The idea is not to reinvent the wheel and use these design patterns in designing software applications as as when applicable.

It is a very vast topic and mastering it is not very easy. There is an excellent book - Head First Design Patterns. It will help you getting started.
 
Share this answer
 
Comments
senthil_jagadeesan 23-Sep-10 11:20am    
Hi thanks........

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900