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

C#

 
AnswerRe: what is advantges of using interface reference instead of class refernce Pin
DaveyM698-Sep-10 23:14
professionalDaveyM698-Sep-10 23:14 
AnswerRe: what is advantges of using interface reference instead of class refernce Pin
OriginalGriff9-Sep-10 0:22
mveOriginalGriff9-Sep-10 0:22 
AnswerRe: what is advantges of using interface reference instead of class refernce [modified] Pin
Pete O'Hanlon9-Sep-10 1:44
mvePete O'Hanlon9-Sep-10 1:44 
GeneralICheck Pin
Paul Michalik9-Sep-10 20:23
Paul Michalik9-Sep-10 20:23 
GeneralRe: ICheck Pin
Pete O'Hanlon11-Sep-10 2:16
mvePete O'Hanlon11-Sep-10 2:16 
AnswerRe: what is advantges of using interface reference instead of class refernce Pin
PIEBALDconsult9-Sep-10 4:03
mvePIEBALDconsult9-Sep-10 4:03 
AnswerRe: what is advantges of using interface reference instead of class refernce Pin
Pete O'Hanlon9-Sep-10 4:47
mvePete O'Hanlon9-Sep-10 4:47 
AnswerRe: what is advantges of using interface reference instead of class refernce Pin
Paul Michalik9-Sep-10 21:05
Paul Michalik9-Sep-10 21:05 
Go and google for Dependency inversion. Basically, you use interfaces to loosen dependencies between components. Consider:
public class Data : IData {
 private IDataChecker mDataChecker;

 //...

 public Data(IDataChecker pDataChecker) {
  mDataChecker = pDataChecker;
 }

 //...
}

Your concrete Data depends only on IDataChecker interface, not on its implementation. The consequence is that you can use many different implementations of IDataChecker without changing Data.
QuestionHow to pass ArrayList object back from a Thread Pin
largenqcd8-Sep-10 16:41
largenqcd8-Sep-10 16:41 
AnswerRe: How to pass ArrayList object back from a Thread Pin
Luc Pattyn8-Sep-10 16:56
sitebuilderLuc Pattyn8-Sep-10 16:56 
Questionconvert VB code to C# code [modified] Pin
krobinson9378-Sep-10 15:35
krobinson9378-Sep-10 15:35 
AnswerRe: convert VB code to C# code Pin
Luc Pattyn8-Sep-10 15:56
sitebuilderLuc Pattyn8-Sep-10 15:56 
AnswerRe: convert VB code to C# code Pin
J4amieC8-Sep-10 22:02
J4amieC8-Sep-10 22:02 
AnswerRe: convert VB code to C# code Pin
AspDotNetDev9-Sep-10 13:04
protectorAspDotNetDev9-Sep-10 13:04 
QuestionHiding/Showing panels Pin
Megidolaon8-Sep-10 12:46
Megidolaon8-Sep-10 12:46 
AnswerRe: Hiding/Showing panels Pin
Luc Pattyn8-Sep-10 14:05
sitebuilderLuc Pattyn8-Sep-10 14:05 
AnswerRe: Hiding/Showing panels Pin
Dave Kreskowiak8-Sep-10 18:08
mveDave Kreskowiak8-Sep-10 18:08 
AnswerRe: Hiding/Showing panels Pin
The Man from U.N.C.L.E.9-Sep-10 7:34
The Man from U.N.C.L.E.9-Sep-10 7:34 
AnswerRe: Hiding/Showing panels Pin
Megidolaon9-Sep-10 8:15
Megidolaon9-Sep-10 8:15 
GeneralRe: Hiding/Showing panels Pin
OriginalGriff9-Sep-10 8:51
mveOriginalGriff9-Sep-10 8:51 
GeneralRe: Hiding/Showing panels Pin
Luc Pattyn9-Sep-10 13:47
sitebuilderLuc Pattyn9-Sep-10 13:47 
GeneralRe: Hiding/Showing panels Pin
Megidolaon9-Sep-10 14:42
Megidolaon9-Sep-10 14:42 
GeneralRe: Hiding/Showing panels Pin
Luc Pattyn9-Sep-10 14:51
sitebuilderLuc Pattyn9-Sep-10 14:51 
GeneralRe: Hiding/Showing panels Pin
Megidolaon9-Sep-10 17:49
Megidolaon9-Sep-10 17:49 
Question10 band equalizer using DIRECTX in C# Pin
Nishad Ullaskumar P8-Sep-10 7:28
Nishad Ullaskumar P8-Sep-10 7:28 

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.