Click here to Skip to main content
15,887,676 members
Home / Discussions / C#
   

C#

 
Questionusing generic on method Pin
Gilbert Consellado22-May-14 0:40
professionalGilbert Consellado22-May-14 0:40 
AnswerRe: using generic on method Pin
Pete O'Hanlon22-May-14 0:50
mvePete O'Hanlon22-May-14 0:50 
GeneralRe: using generic on method Pin
Gilbert Consellado22-May-14 0:58
professionalGilbert Consellado22-May-14 0:58 
GeneralRe: using generic on method Pin
Pete O'Hanlon22-May-14 1:01
mvePete O'Hanlon22-May-14 1:01 
GeneralRe: using generic on method Pin
Rob Philpott22-May-14 1:09
Rob Philpott22-May-14 1:09 
GeneralRe: using generic on method Pin
Gilbert Consellado22-May-14 1:20
professionalGilbert Consellado22-May-14 1:20 
GeneralRe: using generic on method Pin
Rob Philpott22-May-14 1:22
Rob Philpott22-May-14 1:22 
GeneralRe: using generic on method Pin
Richard Deeming22-May-14 2:00
mveRichard Deeming22-May-14 2:00 
Looking at the C# specification, section 7.5.3.2:
7.5.3.2 Better function member[^]
... the following tie-breaking rules are applied, in order, to determine the better function member:
  • If MP is a non-generic method and MQ is a generic method, then MP is better than MQ.
  • ...


In other words, if two candidate methods are found, and one is generic but the other isn't, then the non-generic method is always chosen.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: using generic on method Pin
Rob Philpott22-May-14 2:03
Rob Philpott22-May-14 2:03 
GeneralRe: using generic on method Pin
Pete O'Hanlon22-May-14 2:26
mvePete O'Hanlon22-May-14 2:26 
AnswerRe: using generic on method Pin
BobJanova22-May-14 1:58
BobJanova22-May-14 1:58 
QuestionRegarding .Net consultant Pin
Pramod Singh (C)21-May-14 19:06
professionalPramod Singh (C)21-May-14 19:06 
AnswerRe: Regarding .Net consultant Pin
Karen Mitchelle21-May-14 19:37
professionalKaren Mitchelle21-May-14 19:37 
AnswerRe: Regarding .Net consultant Pin
Bernhard Hiller21-May-14 21:42
Bernhard Hiller21-May-14 21:42 
AnswerRe: Regarding .Net consultant Pin
Richard MacCutchan21-May-14 21:56
mveRichard MacCutchan21-May-14 21:56 
AnswerRe: Regarding .Net consultant Pin
BobJanova22-May-14 2:01
BobJanova22-May-14 2:01 
AnswerRe: Regarding .Net consultant Pin
Dave Kreskowiak22-May-14 4:22
mveDave Kreskowiak22-May-14 4:22 
GeneralRe: Regarding .Net consultant Pin
Pete O'Hanlon22-May-14 6:47
mvePete O'Hanlon22-May-14 6:47 
GeneralRe: Regarding .Net consultant Pin
Dave Kreskowiak22-May-14 11:15
mveDave Kreskowiak22-May-14 11:15 
GeneralComparison of 2 DataTable too slow Pin
diego_ric21-May-14 18:05
diego_ric21-May-14 18:05 
AnswerRe: Comparison of 2 DataTable too slow Pin
Karen Mitchelle21-May-14 18:54
professionalKaren Mitchelle21-May-14 18:54 
GeneralRe: Comparison of 2 DataTable too slow Pin
diego_ric22-May-14 4:32
diego_ric22-May-14 4:32 
GeneralRe: Comparison of 2 DataTable too slow Pin
Mycroft Holmes21-May-14 19:27
professionalMycroft Holmes21-May-14 19:27 
GeneralRe: Comparison of 2 DataTable too slow Pin
diego_ric22-May-14 6:30
diego_ric22-May-14 6:30 
GeneralRe: Comparison of 2 DataTable too slow Pin
Mycroft Holmes22-May-14 12:41
professionalMycroft Holmes22-May-14 12:41 

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.