Click here to Skip to main content
15,889,728 members
Home / Discussions / C#
   

C#

 
GeneralRe: what is method group? Pin
George_George10-Sep-08 1:27
George_George10-Sep-08 1:27 
GeneralRe: what is method group? Pin
Daniel Grunwald10-Sep-08 1:53
Daniel Grunwald10-Sep-08 1:53 
GeneralRe: what is method group? Pin
George_George11-Sep-08 15:00
George_George11-Sep-08 15:00 
GeneralRe: what is method group? Pin
DaveyM6910-Sep-08 2:05
professionalDaveyM6910-Sep-08 2:05 
GeneralRe: what is method group? Pin
George_George11-Sep-08 15:01
George_George11-Sep-08 15:01 
GeneralRe: what is method group? Pin
Daniel Grunwald10-Sep-08 1:49
Daniel Grunwald10-Sep-08 1:49 
GeneralRe: what is method group? Pin
leppie10-Sep-08 1:56
leppie10-Sep-08 1:56 
GeneralRe: what is method group? Pin
Daniel Grunwald10-Sep-08 1:59
Daniel Grunwald10-Sep-08 1:59 
Yes, overload resolution looks up a method from a method group.


The spec wrote:

An expression is classified as one of the following:
...
• A method group, which is a set of overloaded methods resulting from a member lookup (§7.3). A method group may have an associated instance expression and an associated type argument list. When an instance method is invoked, the result of evaluating the instance expression becomes the instance represented by this (§7.5.7). A method group is only permitted in an invocation-expression (§7.5.5) or a delegate-creation-expression (§7.5.10.3). In any other context, an expression classified as a method group causes a compile-time error.
...

GeneralRe: what is method group? Pin
George_George11-Sep-08 15:03
George_George11-Sep-08 15:03 
GeneralRe: what is method group? Pin
leppie11-Sep-08 20:03
leppie11-Sep-08 20:03 
GeneralRe: what is method group? Pin
George_George11-Sep-08 20:23
George_George11-Sep-08 20:23 
GeneralRe: what is method group? Pin
George_George11-Sep-08 15:07
George_George11-Sep-08 15:07 
GeneralRe: what is method group? Pin
George_George11-Sep-08 15:06
George_George11-Sep-08 15:06 
GeneralRe: what is method group? Pin
Daniel Grunwald11-Sep-08 15:17
Daniel Grunwald11-Sep-08 15:17 
GeneralRe: what is method group? Pin
George_George11-Sep-08 15:45
George_George11-Sep-08 15:45 
QuestionQuerying what kind of mail server is active on a machine Pin
Matt Fishbeck10-Sep-08 0:29
Matt Fishbeck10-Sep-08 0:29 
AnswerRe: Querying what kind of mail server is active on a machine Pin
leppie10-Sep-08 0:34
leppie10-Sep-08 0:34 
GeneralRe: Querying what kind of mail server is active on a machine Pin
Matt Fishbeck10-Sep-08 0:37
Matt Fishbeck10-Sep-08 0:37 
GeneralRe: Querying what kind of mail server is active on a machine Pin
leppie10-Sep-08 0:39
leppie10-Sep-08 0:39 
GeneralRe: Querying what kind of mail server is active on a machine Pin
leppie10-Sep-08 0:39
leppie10-Sep-08 0:39 
GeneralRe: Querying what kind of mail server is active on a machine Pin
Matt Fishbeck10-Sep-08 0:56
Matt Fishbeck10-Sep-08 0:56 
QuestionHow can I use a C++ struct from a C# app? Pin
verence33310-Sep-08 0:29
verence33310-Sep-08 0:29 
AnswerRe: How can I use a C++ struct from a C# app? Pin
leppie10-Sep-08 0:31
leppie10-Sep-08 0:31 
GeneralRe: How can I use a C++ struct from a C# app? Pin
verence33310-Sep-08 0:47
verence33310-Sep-08 0:47 
GeneralRe: How can I use a C++ struct from a C# app? Pin
leppie10-Sep-08 0:59
leppie10-Sep-08 0:59 

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.