Click here to Skip to main content
15,881,812 members
Home / Discussions / C#
   

C#

 
GeneralRe: OnTextChanged event Pin
Paladin20003-Aug-11 3:31
Paladin20003-Aug-11 3:31 
QuestionSetting different properties based on T in method that returns List<T> Pin
Paul E Davies2-Aug-11 3:54
Paul E Davies2-Aug-11 3:54 
AnswerRe: Setting different properties based on T in method that returns List Pin
Pete O'Hanlon2-Aug-11 4:02
mvePete O'Hanlon2-Aug-11 4:02 
GeneralRe: Setting different properties based on T in method that returns List Pin
Paul E Davies2-Aug-11 4:23
Paul E Davies2-Aug-11 4:23 
GeneralRe: Setting different properties based on T in method that returns List Pin
Pete O'Hanlon2-Aug-11 4:45
mvePete O'Hanlon2-Aug-11 4:45 
GeneralRe: Setting different properties based on T in method that returns List Pin
Paul E Davies2-Aug-11 4:54
Paul E Davies2-Aug-11 4:54 
GeneralRe: Setting different properties based on T in method that returns List Pin
Pete O'Hanlon2-Aug-11 4:57
mvePete O'Hanlon2-Aug-11 4:57 
GeneralRe: Setting different properties based on T in method that returns List Pin
dasblinkenlight2-Aug-11 5:02
dasblinkenlight2-Aug-11 5:02 
I'm curious what are you trying to achieve with a method like this. Since you are forced to specify an exact type at the point of call anyway, for example,
C#
var managers = getall<manager>();
you might as well call a method with a different name, like this:
C#
var managers = getAllManagers();
In other words, your getall method hides certain details, yet the caller is forced to reveal these details back! Could you please explain your intent?
GeneralRe: Setting different properties based on T in method that returns List Pin
BobJanova2-Aug-11 5:14
BobJanova2-Aug-11 5:14 
GeneralRe: Setting different properties based on T in method that returns List Pin
Paul E Davies2-Aug-11 5:16
Paul E Davies2-Aug-11 5:16 
GeneralRe: Setting different properties based on T in method that returns List Pin
dasblinkenlight2-Aug-11 5:58
dasblinkenlight2-Aug-11 5:58 
GeneralRe: Setting different properties based on T in method that returns List Pin
BobJanova2-Aug-11 6:20
BobJanova2-Aug-11 6:20 
GeneralRe: Setting different properties based on T in method that returns List Pin
PIEBALDconsult2-Aug-11 5:14
mvePIEBALDconsult2-Aug-11 5:14 
QuestionHow to fix Remoting error? Pin
meeram3952-Aug-11 1:25
meeram3952-Aug-11 1:25 
Questionarchitecture Pin
AndyInUK2-Aug-11 0:18
AndyInUK2-Aug-11 0:18 
AnswerRe: architecture Pin
Łukasz Nowakowski2-Aug-11 1:04
Łukasz Nowakowski2-Aug-11 1:04 
GeneralRe: architecture Pin
AndyInUK2-Aug-11 1:55
AndyInUK2-Aug-11 1:55 
AnswerRe: architecture Pin
Not Active2-Aug-11 2:07
mentorNot Active2-Aug-11 2:07 
AnswerRe: architecture [modified] Pin
PIEBALDconsult2-Aug-11 2:50
mvePIEBALDconsult2-Aug-11 2:50 
AnswerRe: architecture Pin
V.2-Aug-11 3:48
professionalV.2-Aug-11 3:48 
AnswerRe: architecture Pin
Dan Mos2-Aug-11 4:01
Dan Mos2-Aug-11 4:01 
Questionmissing resources Pin
lukeer2-Aug-11 0:17
lukeer2-Aug-11 0:17 
GeneralRe: missing resources Pin
Shameel2-Aug-11 5:50
professionalShameel2-Aug-11 5:50 
QuestionDatagrids Pin
Beetle Juice1-Aug-11 23:29
Beetle Juice1-Aug-11 23:29 
Questionhiding process arguments Pin
navish011-Aug-11 21:25
navish011-Aug-11 21:25 

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.