Click here to Skip to main content
16,010,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sending Mail errror Pin
Ravi Bhavnani30-Nov-07 6:49
professionalRavi Bhavnani30-Nov-07 6:49 
QuestionRead from USB Device. Pin
ColonelSanders30-Nov-07 5:55
ColonelSanders30-Nov-07 5:55 
QuestionExtension Methods... Pin
martin_hughes30-Nov-07 5:38
martin_hughes30-Nov-07 5:38 
AnswerRe: Extension Methods... Pin
Anthony Mushrow30-Nov-07 5:46
professionalAnthony Mushrow30-Nov-07 5:46 
GeneralRe: Extension Methods... Pin
martin_hughes30-Nov-07 5:51
martin_hughes30-Nov-07 5:51 
AnswerRe: Extension Methods... Pin
led mike30-Nov-07 5:49
led mike30-Nov-07 5:49 
GeneralRe: Extension Methods... Pin
martin_hughes30-Nov-07 5:52
martin_hughes30-Nov-07 5:52 
GeneralRe: Extension Methods... Pin
Judah Gabriel Himango30-Nov-07 6:45
sponsorJudah Gabriel Himango30-Nov-07 6:45 
We'll see. I think extension methods are limited enough that there won't be abuse. I liken it to C#'s typedefing, e.g.

using Foo = blabhalbhabhalbahb;
..
Foo f = new Foo();
That feature was also open to abuse, as seen by all kinds of nasty C++ typedef'ing. C# limited its scope, and now we don't see abuse.

Likewise, I *think* extension methods won't be abused, or at least any abuse will be limited in scope, given that they have to be part of a static class and that consumers don't see them unless you specifically import that namespace. I think this limitation is a good one that will discourage abuse.


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: The Story of the Spoiled Child
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


GeneralRe: Extension Methods... Pin
led mike30-Nov-07 7:08
led mike30-Nov-07 7:08 
GeneralRe: Extension Methods... Pin
Judah Gabriel Himango30-Nov-07 8:00
sponsorJudah Gabriel Himango30-Nov-07 8:00 
GeneralRe: Extension Methods... Pin
PIEBALDconsult30-Nov-07 13:51
mvePIEBALDconsult30-Nov-07 13:51 
GeneralRe: Extension Methods... Pin
PIEBALDconsult30-Nov-07 10:05
mvePIEBALDconsult30-Nov-07 10:05 
AnswerRe: Extension Methods... Pin
Pete O'Hanlon30-Nov-07 11:08
mvePete O'Hanlon30-Nov-07 11:08 
GeneralRe: Extension Methods... Pin
martin_hughes30-Nov-07 11:26
martin_hughes30-Nov-07 11:26 
Questionthreading off a file copy Pin
davidhart30-Nov-07 5:19
davidhart30-Nov-07 5:19 
AnswerRe: threading off a file copy Pin
Luc Pattyn30-Nov-07 5:36
sitebuilderLuc Pattyn30-Nov-07 5:36 
AnswerRe: threading off a file copy Pin
led mike30-Nov-07 5:39
led mike30-Nov-07 5:39 
Questionrestarting an application using batch file Pin
samy10030-Nov-07 5:02
samy10030-Nov-07 5:02 
AnswerRe: restarting an application using batch file Pin
Anthony Mushrow30-Nov-07 5:41
professionalAnthony Mushrow30-Nov-07 5:41 
AnswerRe: restarting an application using batch file Pin
led mike30-Nov-07 5:46
led mike30-Nov-07 5:46 
GeneralRe: restarting an application using batch file Pin
samy10030-Nov-07 6:22
samy10030-Nov-07 6:22 
GeneralRe: restarting an application using batch file Pin
led mike30-Nov-07 6:28
led mike30-Nov-07 6:28 
GeneralRe: restarting an application using batch file Pin
Anthony Mushrow30-Nov-07 8:12
professionalAnthony Mushrow30-Nov-07 8:12 
AnswerRe: restarting an application using batch file Pin
Alan N30-Nov-07 7:26
Alan N30-Nov-07 7:26 
AnswerRe: restarting an application using batch file Pin
Giorgi Dalakishvili30-Nov-07 7:34
mentorGiorgi Dalakishvili30-Nov-07 7:34 

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.