Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
QuestionStrange Problem Loading Config File Pin
Kevin Marois3-Apr-17 7:51
professionalKevin Marois3-Apr-17 7:51 
AnswerRe: Strange Problem Loading Config File Pin
Richard Deeming3-Apr-17 8:03
mveRichard Deeming3-Apr-17 8:03 
GeneralRe: Strange Problem Loading Config File Pin
Kevin Marois3-Apr-17 8:07
professionalKevin Marois3-Apr-17 8:07 
QuestionUnderstanding IOC Pin
Liagapi2-Apr-17 21:06
Liagapi2-Apr-17 21:06 
AnswerRe: Understanding IOC Pin
Pete O'Hanlon2-Apr-17 22:41
mvePete O'Hanlon2-Apr-17 22:41 
GeneralRe: Understanding IOC Pin
Liagapi3-Apr-17 16:32
Liagapi3-Apr-17 16:32 
GeneralRe: Understanding IOC Pin
Pete O'Hanlon3-Apr-17 20:41
mvePete O'Hanlon3-Apr-17 20:41 
AnswerRe: Understanding IOC Pin
Bernhard Hiller3-Apr-17 21:24
Bernhard Hiller3-Apr-17 21:24 
I'd like to add to Pete's correct answer that your question actually deals with two concepts: the inversion of control on one hand, and abstraction on the other hand.
The abstraction is the part where it comes to (abstract) base classes or better interfaces instead of concrete classes: you can use many other concrete implementations later on.
The inversion of control principle is about the question of how to get a class one depends on. If A requires a B for some tasks, it is not the responsibility of A to create B, rather someone else should provide B for A (inject a B into A). While that can be done also with a concrete definition of B, a more abstract definition (see above) is preferred.
AnswerRe: Understanding IOC Pin
Gerry Schmitz4-Apr-17 4:46
mveGerry Schmitz4-Apr-17 4:46 
AnswerRe: Understanding IOC Pin
Matthew Dennis4-Apr-17 6:43
sysadminMatthew Dennis4-Apr-17 6:43 
QuestionWindows Application C# Pin
Member 130625052-Apr-17 9:38
Member 130625052-Apr-17 9:38 
AnswerRe: Windows Application C# Pin
OriginalGriff2-Apr-17 10:15
mveOriginalGriff2-Apr-17 10:15 
AnswerRe: Windows Application C# Pin
Michael_Davies2-Apr-17 10:16
Michael_Davies2-Apr-17 10:16 
AnswerRe: Windows Application C# Pin
ZurdoDev3-Apr-17 1:33
professionalZurdoDev3-Apr-17 1:33 
QuestionWrong absolute position of a QRcode Pin
advn1-Apr-17 4:23
advn1-Apr-17 4:23 
AnswerRe: Wrong absolute position of a QRcode Pin
ZurdoDev3-Apr-17 3:43
professionalZurdoDev3-Apr-17 3:43 
QuestionSearching & Playing Itunes music(streaming) tracks Pin
Member 130990653-Apr-17 2:54
Member 130990653-Apr-17 2:54 
Questionrecreating excel spreadsheet in visual studio Pin
ef3731-Mar-17 3:55
ef3731-Mar-17 3:55 
AnswerRe: recreating excel spreadsheet in visual studio Pin
Dave Kreskowiak31-Mar-17 4:34
mveDave Kreskowiak31-Mar-17 4:34 
QuestionQueried result to ListBox in PartialView Pin
sunsher31-Mar-17 1:39
sunsher31-Mar-17 1:39 
SuggestionRe: Queried result to ListBox in PartialView Pin
CHill6031-Mar-17 2:01
mveCHill6031-Mar-17 2:01 
GeneralRe: Queried result to ListBox in PartialView Pin
Richard Deeming31-Mar-17 2:17
mveRichard Deeming31-Mar-17 2:17 
Rant[REPOST] Queried result to ListBox in PartialView Pin
Richard Deeming31-Mar-17 2:18
mveRichard Deeming31-Mar-17 2:18 
QuestionDrag and drop items between two listViews ? Pin
Member 245846730-Mar-17 16:57
Member 245846730-Mar-17 16:57 
AnswerRe: Drag and drop items between two listViews ? Pin
Mycroft Holmes30-Mar-17 17:15
professionalMycroft Holmes30-Mar-17 17:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.