1. What are the design patterns in .NET?Give me a brief.
2. Why Should we use Interface in .NET while we can write the same code in the main class too.
About .NET
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mahesh ChandRank #1 · 393.3K reputationPosted Dec 22, 2009, 2:10 PM EST
If you have a small program, say 20 lines, you can write in Main. But when you have large application with different types of resources - user interfaces, controls, images, code, business logic, database and so on, your Main method will get confusing and unmanageable. Breaking a large cluster of code into smaller pieces is one of the main feature of modular programming.
Sam HobbsRank #107 · 20.5K reputationPosted Dec 22, 2009, 10:05 PM EST