Click here to Skip to main content
15,903,388 members
Home / Discussions / C#
   

C#

 
AnswerRe: i need some help Pin
N a v a n e e t h23-Sep-09 20:42
N a v a n e e t h23-Sep-09 20:42 
AnswerRe: i need some help Pin
Mohamed El-Wehishy23-Sep-09 20:54
Mohamed El-Wehishy23-Sep-09 20:54 
GeneralRe: i need some help [modified] Pin
N a v a n e e t h23-Sep-09 21:10
N a v a n e e t h23-Sep-09 21:10 
QuestionWindows media Control Pin
jpk42023-Sep-09 20:01
jpk42023-Sep-09 20:01 
AnswerRe: Windows media Control Pin
N a v a n e e t h23-Sep-09 20:55
N a v a n e e t h23-Sep-09 20:55 
GeneralRe: Windows media Control Pin
jpk42023-Sep-09 23:37
jpk42023-Sep-09 23:37 
GeneralRe: Windows media Control Pin
N a v a n e e t h24-Sep-09 0:11
N a v a n e e t h24-Sep-09 0:11 
Questionerror "Object reference not set to an instance of an object" pls see the code and help me Pin
amaankhan23-Sep-09 19:58
amaankhan23-Sep-09 19:58 
AnswerRe: error "Object reference not set to an instance of an object" pls see the code and help me Pin
PIEBALDconsult23-Sep-09 20:02
mvePIEBALDconsult23-Sep-09 20:02 
GeneralRe: error "Object reference not set to an instance of an object" pls see the code and help me Pin
amaankhan23-Sep-09 20:06
amaankhan23-Sep-09 20:06 
AnswerRe: error "Object reference not set to an instance of an object" pls see the code and help me Pin
N a v a n e e t h23-Sep-09 20:08
N a v a n e e t h23-Sep-09 20:08 
QuestionInsert values into a table only if they do not already exist in that table (MS Access) Pin
Ajithevn23-Sep-09 19:55
Ajithevn23-Sep-09 19:55 
AnswerRe: Insert values into a table only if they do not already exist in that table (MS Access) [modified] Pin
PIEBALDconsult23-Sep-09 20:13
mvePIEBALDconsult23-Sep-09 20:13 
GeneralRe: Insert values into a table only if they do not already exist in that table (MS Access) Pin
Ajithevn23-Sep-09 20:20
Ajithevn23-Sep-09 20:20 
GeneralRe: Insert values into a table only if they do not already exist in that table (MS Access) Pin
PIEBALDconsult23-Sep-09 20:32
mvePIEBALDconsult23-Sep-09 20:32 
QuestionInterface type or class type? Pin
shivapriyak23-Sep-09 19:30
shivapriyak23-Sep-09 19:30 
AnswerRe: Interface type or class type? Pin
PIEBALDconsult23-Sep-09 19:46
mvePIEBALDconsult23-Sep-09 19:46 
GeneralRe: Interface type or class type? Pin
shivapriyak23-Sep-09 19:48
shivapriyak23-Sep-09 19:48 
GeneralRe: Interface type or class type? Pin
PIEBALDconsult23-Sep-09 19:58
mvePIEBALDconsult23-Sep-09 19:58 
GeneralRe: Interface type or class type? Pin
shivapriyak23-Sep-09 20:54
shivapriyak23-Sep-09 20:54 
GeneralRe: Interface type or class type? Pin
N a v a n e e t h23-Sep-09 23:19
N a v a n e e t h23-Sep-09 23:19 
GeneralRe: Interface type or class type? Pin
shivapriyak24-Sep-09 0:35
shivapriyak24-Sep-09 0:35 
GeneralRe: Interface type or class type? Pin
N a v a n e e t h23-Sep-09 20:00
N a v a n e e t h23-Sep-09 20:00 
GeneralRe: Interface type or class type? Pin
shivapriyak23-Sep-09 21:08
shivapriyak23-Sep-09 21:08 
I have a scenario where we develop a class library which we give to the clients to use in their applications.

Inside the library we have implementations like:
IList<string> ModulesPath = new List<string>(16);
This 'ModulesPath' is used inside the class library (not exposed to the user). So is it correct to have 'ModulesPath' of type IList or List?

However we have another vaiable as:
IIAD i = InstrumentDomain.iad;
here 'IIAD' is a interface(which is in a separate class library) and 'InstrumentDomain' is the class which implements it(this is in a different class library.)

We give both the dlls to the client so that he can write a code as above.
So here, should 'i' be of type IIAD or of type InstrumentDomain i.e. the concrete class?
GeneralRe: Interface type or class type? Pin
N a v a n e e t h23-Sep-09 22:53
N a v a n e e t h23-Sep-09 22:53 

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.