Click here to Skip to main content
15,922,696 members
Home / Discussions / C#
   

C#

 
AnswerRe: How can you track the mouse pointer if you leave the form...... Pin
Pravin Patil, Mumbai15-Feb-11 0:27
Pravin Patil, Mumbai15-Feb-11 0:27 
GeneralRe: How can you track the mouse pointer if you leave the form...... Pin
glennPattonWork315-Feb-11 1:30
professionalglennPattonWork315-Feb-11 1:30 
AnswerRe: How can you track the mouse pointer if you leave the form...... Pin
Luc Pattyn15-Feb-11 2:20
sitebuilderLuc Pattyn15-Feb-11 2:20 
QuestionHow to access port80 Pin
Krishna Varadharajan14-Feb-11 19:53
Krishna Varadharajan14-Feb-11 19:53 
AnswerRe: How to access port80 Pin
Bernhard Hiller14-Feb-11 22:07
Bernhard Hiller14-Feb-11 22:07 
AnswerRe: How to access port80 Pin
Luc Pattyn15-Feb-11 2:21
sitebuilderLuc Pattyn15-Feb-11 2:21 
GeneralRe: How to access port80 Pin
Bernhard Hiller16-Feb-11 21:42
Bernhard Hiller16-Feb-11 21:42 
QuestionGmail Port 465 Send Mail Error Pin
Anubhava Dimri14-Feb-11 19:49
Anubhava Dimri14-Feb-11 19:49 
AnswerRe: Gmail Port 465 Send Mail Error Pin
Dave Kreskowiak15-Feb-11 1:56
mveDave Kreskowiak15-Feb-11 1:56 
GeneralRe: Gmail Port 465 Send Mail Error Pin
Anubhava Dimri16-Feb-11 1:09
Anubhava Dimri16-Feb-11 1:09 
GeneralRe: Gmail Port 465 Send Mail Error Pin
Dave Kreskowiak16-Feb-11 1:12
mveDave Kreskowiak16-Feb-11 1:12 
GeneralRe: Gmail Port 465 Send Mail Error Pin
Anubhava Dimri16-Feb-11 1:17
Anubhava Dimri16-Feb-11 1:17 
GeneralRe: Gmail Port 465 Send Mail Error Pin
Dave Kreskowiak16-Feb-11 2:26
mveDave Kreskowiak16-Feb-11 2:26 
QuestionDataGridViewTextBoxEditingControl autocomplete conflict with wrapmode [modified] Pin
reza assar14-Feb-11 19:37
reza assar14-Feb-11 19:37 
Questionqueries with coding Pin
Rei ho14-Feb-11 18:43
Rei ho14-Feb-11 18:43 
QuestionRedirect after xsl file is downloaded Pin
S.Aijaz14-Feb-11 18:12
S.Aijaz14-Feb-11 18:12 
QuestionWhat is the better approach between IQueryable and IEnumerable ? Pin
Nadia Monalisa14-Feb-11 15:13
Nadia Monalisa14-Feb-11 15:13 
AnswerRe: What is the better approach between IQueryable and IEnumerable ? Pin
PIEBALDconsult14-Feb-11 17:16
mvePIEBALDconsult14-Feb-11 17:16 
GeneralRe: What is the better approach between IQueryable and IEnumerable ? Pin
Nadia Monalisa14-Feb-11 17:59
Nadia Monalisa14-Feb-11 17:59 
GeneralRe: What is the better approach between IQueryable and IEnumerable ? Pin
PIEBALDconsult15-Feb-11 1:53
mvePIEBALDconsult15-Feb-11 1:53 
AnswerRe: What is the better approach between IQueryable and IEnumerable ? Pin
dasblinkenlight14-Feb-11 21:25
dasblinkenlight14-Feb-11 21:25 
GeneralRe: What is the better approach between IQueryable and IEnumerable ? Pin
PIEBALDconsult15-Feb-11 2:02
mvePIEBALDconsult15-Feb-11 2:02 
GeneralRe: What is the better approach between IQueryable and IEnumerable ? Pin
dasblinkenlight15-Feb-11 2:31
dasblinkenlight15-Feb-11 2:31 
GeneralRe: What is the better approach between IQueryable and IEnumerable ? Pin
PIEBALDconsult15-Feb-11 4:19
mvePIEBALDconsult15-Feb-11 4:19 
GeneralRe: What is the better approach between IQueryable and IEnumerable ? Pin
dasblinkenlight15-Feb-11 5:15
dasblinkenlight15-Feb-11 5:15 
There are two sides to interfaces: one for communicating with a compiler, and one for communicating with programmers who read your code. You keep arguing that there's only the first side, pretending the second side does not exist. However, it's there, and I am sure you've been made painfully aware of it on more than one occasion, when the code compiled but did not work.
There are legitimate concerns that compilers simply cannot enforce, yet these concerns do not become less relevant because of it. For example, compilers cannot enforce exact type casts inside fast enumeration loops, but this means only that the programmers should pay more attention.
There is more to implementing an interface than providing implementations to all its methods so that the compiler stops complaining. For example, if you implement IQueryable in a way that reads everything from the database and then filters in memory, you will "provide the desired information", but not "in a useful manner". That does not make your class useless - others may still use it in their code. It's just that they will not be using it in a way they normally use an IQueryable.
I completely agree with your "class is a black box" comment, yet "poking one's finger into a class" is drastically different from understanding the intent behind its implementation.

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.