Click here to Skip to main content
15,918,050 members
Home / Discussions / C#
   

C#

 
AnswerRe: drag n drop images Pin
Abhijit Jana4-Aug-09 8:08
professionalAbhijit Jana4-Aug-09 8:08 
QuestionFacotry Design Pattern Pin
jpk4204-Aug-09 6:49
jpk4204-Aug-09 6:49 
AnswerRe: Facotry Design Pattern Pin
Abhijit Jana4-Aug-09 6:56
professionalAbhijit Jana4-Aug-09 6:56 
AnswerRe: Facotry Design Pattern Pin
N a v a n e e t h4-Aug-09 7:05
N a v a n e e t h4-Aug-09 7:05 
QuestionUse of Interfaces Pin
jpk4204-Aug-09 6:47
jpk4204-Aug-09 6:47 
AnswerRe: Use of Interfaces Pin
Abhijit Jana4-Aug-09 7:05
professionalAbhijit Jana4-Aug-09 7:05 
AnswerRe: Use of Interfaces Pin
N a v a n e e t h4-Aug-09 7:18
N a v a n e e t h4-Aug-09 7:18 
AnswerRe: Use of Interfaces Pin
Luc Pattyn4-Aug-09 7:42
sitebuilderLuc Pattyn4-Aug-09 7:42 
Hi,

an interface is an abstraction, it is a contract saying some methods/properties have to be or will be available, while hiding the exact nature of the object.

Example:
int sum1(IEnumerable<int> data) {...}
int sum2(int[] data) {...}
int sum3(List<int> data) {...}


sum1 is the most general method, it specifies its parameter as little as possible, without giving up on its purpose. So you can pass it a real List, or an array, or... whereas sum2() and sum3() are more specific, i.e. less generally applicable.

So you achieve a lesser degree of dependency of sum1() on its data types.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

Questionquery wizard Pin
mohammad alnoed4-Aug-09 6:46
mohammad alnoed4-Aug-09 6:46 
AnswerRe: query wizard Pin
Abhijit Jana4-Aug-09 7:00
professionalAbhijit Jana4-Aug-09 7:00 
GeneralRe: query wizard Pin
mohammad alnoed4-Aug-09 7:07
mohammad alnoed4-Aug-09 7:07 
GeneralRe: query wizard Pin
Henry Minute4-Aug-09 13:19
Henry Minute4-Aug-09 13:19 
QuestionAsynchronous socket and webrequest Pin
joana.simoes4-Aug-09 6:36
joana.simoes4-Aug-09 6:36 
QuestionFile In Use Problem Pin
eddieangel4-Aug-09 6:03
eddieangel4-Aug-09 6:03 
AnswerRe: File In Use Problem [modified] Pin
Luc Pattyn4-Aug-09 6:08
sitebuilderLuc Pattyn4-Aug-09 6:08 
GeneralRe: File In Use Problem Pin
N a v a n e e t h4-Aug-09 7:23
N a v a n e e t h4-Aug-09 7:23 
GeneralRe: File In Use Problem Pin
Luc Pattyn4-Aug-09 7:29
sitebuilderLuc Pattyn4-Aug-09 7:29 
Questionusing kdtele for c# application Pin
anahita224-Aug-09 5:28
anahita224-Aug-09 5:28 
AnswerRe: using kdtele for c# application Pin
Not Active4-Aug-09 6:18
mentorNot Active4-Aug-09 6:18 
AnswerRe: using kdtele for c# application Pin
N a v a n e e t h4-Aug-09 6:20
N a v a n e e t h4-Aug-09 6:20 
QuestionPassing C# variable to HTML page Pin
VengefulSakhmet4-Aug-09 5:16
VengefulSakhmet4-Aug-09 5:16 
AnswerRe: Passing C# variable to HTML page Pin
Not Active4-Aug-09 6:17
mentorNot Active4-Aug-09 6:17 
GeneralRe: Passing C# variable to HTML page Pin
VengefulSakhmet4-Aug-09 8:33
VengefulSakhmet4-Aug-09 8:33 
AnswerRe: Passing C# variable to HTML page Pin
Adam Maras4-Aug-09 8:49
Adam Maras4-Aug-09 8:49 
GeneralRe: Passing C# variable to HTML page Pin
VengefulSakhmet4-Aug-09 10:44
VengefulSakhmet4-Aug-09 10:44 

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.