Join Now
|
Login
home
login
join now
products and pricing
design pattern framework
dofactory social
questions
explore
ask question
tags
users
all references
design patterns
connection strings
visual studio shortcuts
html color codes
c# coding standards
contact us
training courses
schedule
registration
sitemap
about us
training and education for professional developers
login
join now
C#, ASP.NET, WPF, WCF, LINQ, PATTERNS
how to search
Home
Questions
Explore
reset
Explore
15
records found
date
active
views
answers
votes
Question on multiple if else statements in code
Hi, I am working on a maintenance project and I see at lot of places the application logic is written in if..else if..else conditions. Many times the if conditions check the value of a variable against a ...
6 days ago
by
Harshad Riswadkar
60
93.0
Last:
6 days ago
by
Robert Blixt
620
100.0
Design Pattern
if else
Views
130
Answers
1
Votes
1
Answer
Code
Follow
0
Replace conditional (VB.NET: Select-Case) with Strategy Pattern... HOW?!
Alright folks,... let's get to the point: Buzz words sometimes help to understand that there is something that needs to be improved. What might be even more helpful is a hint on HOW to actually improve something. ...
25 days ago
by
Christian Jacob
525
99.9
Last:
22 days ago
by
Robert Blixt
620
100.0
Strategy Pattern
VB.NET
Conditional
Views
419
Answers
2
Votes
2
Answer
Code
Follow
1
Sample VB.NET code for a Strategy Pattern for algorithms
Hi, I'm using the Heads Up Patterns book for getting into Design Patterns. The book uses a Duck to illustrate the Strategy pattern. Could this be the reason why people think Strategy ...
28 days ago
by
Mike Angelastro
65
93.7
Last:
23 days ago
by
Christian Jacob
525
99.9
Strategy Pattern
Factory Pattern
Views
278
Answers
2
Votes
1
Answer
Code
Follow
0
Difference between Strategy Pattern and Factory Pattern?
Is there any major difference between Strategy Pattern and Factory Pattern? As for me its look alike and I am a bit confused which to use when. I see that the Factory Pattern gets me ...
Aug 06, 2010
by
Imran Khan
250
96.9
Last:
Aug 06, 2010
by
Rajesh Pillai
388
99.8
Factory Pattern
Strategy Pattern
Views
405
Answers
1
Votes
0
Answer
Code
Follow
0
Difference between Strategy and Template Method
Could some please clarify with the real-world example the difference between Strategy Pattern and Template Method Pattern. Thanks in ...
Aug 03, 2010
by
Xavier Chinnappan
50
50
Last:
Aug 06, 2010
by
Rajesh Pillai
388
99.8
Strategy Pattern
Template Method Pattern
Views
258
Answers
1
Votes
0
Answer
Code
Follow
0
Does this code follow the Factory Design Pattern?
I am somewhat confused about Factory Pattern. Please review this code . When we need object of KeepItems we will instantiate KeepItemsConcrete Class. Is this pattern a Factory Pattern? Thanks. ...
Aug 02, 2010
by
Shyam Kumar
53
92.2
Last:
Aug 03, 2010
by
King Wilder
378
99.7
Factory Pattern
VB.NET
Views
381
Answers
2
Votes
0
Answer
Code
Follow
0
Is Strategy Pattern the right pattern for this?
I have a user control for a menu, which has events for Add, Edit, Delete etc... I also have a form with five tabs. Now I need to configure the menu for each tab. There are a total of 20 ...
Jul 26, 2010
by
Imran Khan
250
96.9
Last:
Jul 31, 2010
by
Rajesh Pillai
388
99.8
Strategy Pattern
Menus
Tabs
Views
311
Answers
1
Votes
0
Answer
Code
Follow
0
Design Pattern for importing data
Which Design Pattern I can use to implement the import of data in different formats, such as, XML, CSV, TXT, XLSX ...
Jul 29, 2010
by
Imran Khan
250
96.9
Last:
Jul 31, 2010
by
Rajesh Pillai
388
99.8
Design Patterns
C#
Data Import
Views
450
Answers
2
Votes
0
Answer
Code
Follow
0
Where to start with .NET Design Patterns?
I have been pretty successful in my career and consider myself a solid Senior .NET Developer. Recently, I have been reading up on Design Patterns and when I see an example, I usually get it. However, what 
Mar 21, 2010
by
Leo Benson
106
95.5
Last:
Jul 29, 2010
by
Christian Jacob
525
99.9
Design Patterns
Beginner
Views
4.1K
Answers
7
Votes
2
Answer
Code
Follow
2
Factory or something else?
I'm trying to think of a solution but not sure which way to go. Here's the problem: Its going to be a library for parsing multiple XML files. So I know what classes to make and how they are going to be nested. A ...
Jun 10, 2010
by
Justin Chuck
50
50
Last:
Jun 24, 2010
by
Justin Chuck
50
50
Abstract Factory
Interface
Views
646
Answers
3
Votes
0
Answer
Code
Follow
0
Difference between Strategy and State
Looking at the GoF patterns I find the similarities between State and Stategy pattern rather striking. Both swap out polymorphic classes to modify behavior. Anyone else found the same? What are the ...
May 21, 2010
by
Hans Overkamp
84
95.1
Last:
May 27, 2010
by
Shmilya Golem
70
94.1
State Pattern
Strategy Pattern
Views
676
Answers
2
Votes
0
Answer
Code
Follow
0
Need some good .NET Design Pattern interview questions
Hello. I will be interviewing a few candidates for a senior architecture position that we have open at our company. As an architect we expect them to be familiar with commonly used .NET Design Patterns. Does anyone
Mar 25, 2010
by
Craig Johnston
125
95.6
Last:
May 21, 2010
by
Bhupendra Sinha
70
94.1
Design Patterns
Interview Questions
Views
2.5K
Answers
4
Votes
1
Answer
Code
Follow
0
Which Design Patterns are you using most frequently in your projects?
To all: I would be curious to know which design patterns you end up using the most in your own work. Personally, my answer would go something like this: Layers (all my projects are layered) MVC (I
Apr 14, 2010
by
Leo Benson
106
95.5
Last:
May 21, 2010
by
Bhupendra Sinha
70
94.1
Design Patterns
Views
2.3K
Answers
4
Votes
0
Answer
Code
Follow
0
The ideal pattern
In a software that I'm developing, I've a problem, I'm searching a solution for that, and I think that a solution can come from a design pattern, so I'm here for some suggestions. The software must connect to a ser
Apr 26, 2010
by
Andrea Benedetti
70
94.1
Last:
May 11, 2010
by
Saleh Najar
70
94.1
Design Patterns
Views
1.1K
Answers
6
Votes
2
Answer
Code
Follow
0
Singleton as a static class
I was wondering why are Singletons not implemented as a static class with a static public Instance property?
Feb 02, 2010
by
Juan Perez
129
95.7
Last:
Mar 07, 2010
by
Shekhar Kadam
70
94.1
Singleton Pattern
Gang of Four
Views
3.7K
Answers
4
Votes
4
Answer
Code
Follow
0
15
30
50
Per Page
return to top