Click here to Skip to main content
15,880,608 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Interface type or class type? Pin
shivapriyak24-Sep-09 0:36
shivapriyak24-Sep-09 0:36 
GeneralRe: Interface type or class type? Pin
PIEBALDconsult24-Sep-09 5:22
mvePIEBALDconsult24-Sep-09 5:22 
QuestionImport Excel to Database Pin
Member-495917623-Sep-09 18:53
Member-495917623-Sep-09 18:53 
AnswerRe: Import Excel to Database Pin
Richard MacCutchan23-Sep-09 22:39
mveRichard MacCutchan23-Sep-09 22:39 
Questionimage to PDF in C# 2008 Pin
vijaykumarp23-Sep-09 17:36
vijaykumarp23-Sep-09 17:36 
AnswerRe: image to PDF in C# 2008 Pin
Christian Graus23-Sep-09 18:16
protectorChristian Graus23-Sep-09 18:16 
GeneralRe: image to PDF in C# 2008 Pin
vijaykumarp23-Sep-09 21:39
vijaykumarp23-Sep-09 21:39 
QuestionConvertion image to PDF in C# 2008 Pin
vijaykumarp23-Sep-09 17:22
vijaykumarp23-Sep-09 17:22 
AnswerRe: Convertion image to PDF in C# 2008 Pin
Christian Graus23-Sep-09 18:17
protectorChristian Graus23-Sep-09 18:17 
QuestionProblems with getting UserDeletingRow event to work. Pin
gjx_junxian198923-Sep-09 17:06
gjx_junxian198923-Sep-09 17:06 
QuestionPOP3Temp folder ids not Found Pin
shobhit parasher23-Sep-09 13:05
shobhit parasher23-Sep-09 13:05 
QuestionHow to dynamically use C# 3.5 compiler Pin
pbalaga23-Sep-09 11:07
pbalaga23-Sep-09 11:07 
AnswerRe: How to dynamically use C# 3.5 compiler Pin
PIEBALDconsult23-Sep-09 12:07
mvePIEBALDconsult23-Sep-09 12:07 
GeneralRe: How to dynamically use C# 3.5 compiler Pin
pbalaga23-Sep-09 23:48
pbalaga23-Sep-09 23:48 
GeneralRe: How to dynamically use C# 3.5 compiler Pin
PIEBALDconsult24-Sep-09 4:35
mvePIEBALDconsult24-Sep-09 4:35 
GeneralRe: How to dynamically use C# 3.5 compiler Pin
pbalaga24-Sep-09 7:06
pbalaga24-Sep-09 7:06 

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.