.Net Interview Questions and Answers

Search:

What's the first step you take for implementing any of Design Pattern?( .NET Design pattern interview questions with answers)

By : Shiv Prasad Koirala | Nov 1st, 2013 | Views : 10887 | Comments : 0 Bookmark and Share

This .Net design pattern interview question is provided by www.questpond.com

 

Note :- In this question the interviewer expects you to give a logical and practical answer. He is trying to understand have you really got the concept of design pattern.

 

Every design pattern solves certain problems. At the end of the day they are tried and test solution for a certain architecture problem. So you first need to understand what the problem is and then choose design pattern accordingly. For instance below are some scenarios where the thought will flow as follows.

 

Problem: - You want to create a single instance of an object.Solution: - Singleton design pattern.

 

Problem: - Want to change the behavior of the class without altering the class.

Solution: - Decorator pattern.

 

Problem: - Want to loop through a collection without giving him modify access to collection.

Solution: - Iterator pattern.

 

Do see the below design pattern interview question video on factory patterns.

 

 
Rate this Article :
1 Star
2 Stars
3 Stars
4 Stars
5 Stars
1 1 1 2 1
 
 
 
 

.NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala

In this article we will explain .NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala.... Read More

What is the difference between Stored Procedures and Function (SQL Server interview question with answers)?

In this article we will explain what is the difference between Stored Procedures and Function.For more articles and videos visit us on www.questpond.com... Read More

Explain MVC application life cycle?

In this article we will explain MVC application life cycle.For more articles and videos visit us on www.questpond.com... Read More

C# Design pattern interview questions with answers: - How Singleton is different from Static class?

In this article we will explain How Singleton is different from Static class.... Read More

WCF interview questions and answers: - What is the difference between Service endpoint and Client endpoint?

In this article we will explain What is the difference between Service endpoint and Client endpoint.... Read More

.NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala

In this article we will explain .NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala.... Read More

What is the difference between Stored Procedures and Function (SQL Server interview question with answers)?

In this article we will explain what is the difference between Stored Procedures and Function.For more articles and videos visit us on www.questpond.com... Read More

Explain MVC application life cycle?

In this article we will explain MVC application life cycle.For more articles and videos visit us on www.questpond.com... Read More

C# Design pattern interview questions with answers: - How Singleton is different from Static class?

In this article we will explain How Singleton is different from Static class.... Read More

WCF interview questions and answers: - What is the difference between Service endpoint and Client endpoint?

In this article we will explain What is the difference between Service endpoint and Client endpoint.... Read More

Article Categories

Learn in Hindi