Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
AnswerRe: .NET WebBrowser Control and JavaScript Pin
Shameel2-Aug-11 21:45
professionalShameel2-Aug-11 21:45 
AnswerRe: .NET WebBrowser Control and JavaScript Pin
V.2-Aug-11 22:35
professionalV.2-Aug-11 22:35 
GeneralRe: .NET WebBrowser Control and JavaScript Pin
Shameel3-Aug-11 1:47
professionalShameel3-Aug-11 1:47 
QuestionOnTextChanged event [modified] Pin
vanikanc2-Aug-11 8:24
vanikanc2-Aug-11 8:24 
AnswerRe: OnTextChanged event Pin
Paladin20002-Aug-11 11:01
Paladin20002-Aug-11 11:01 
GeneralRe: OnTextChanged event Pin
vanikanc3-Aug-11 2:17
vanikanc3-Aug-11 2:17 
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 
Hi All,

I have a method that returns List<T>, T can be a number of types but based on the type I want set different properties.

I can detect the type passed into the method and can switch on the name but I'm a bit lost on how to convert my List<type> to list<T> so the return type is correct.

the error is Cannot implicitly convert type List<type> to List<T> which is understandable but how do I return List<type> as List<T> where T is type?
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 
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 

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.