Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
GeneralRe: hi all Pin
lmoelleb29-May-06 1:30
lmoelleb29-May-06 1:30 
GeneralRe: hi all Pin
Support12329-May-06 1:37
Support12329-May-06 1:37 
Questiona question about displaying time ? Pin
cmpeng3429-May-06 0:46
cmpeng3429-May-06 0:46 
AnswerRe: a question about displaying time ? [modified] Pin
rah_sin29-May-06 0:52
professionalrah_sin29-May-06 0:52 
QuestionVideo Preview in Fullscreen problem Pin
ranandbe29-May-06 0:36
ranandbe29-May-06 0:36 
Questionarray type at runtime Pin
thepersonof29-May-06 0:07
thepersonof29-May-06 0:07 
AnswerRe: array type at runtime Pin
S. Senthil Kumar29-May-06 0:13
S. Senthil Kumar29-May-06 0:13 
GeneralRe: array type at runtime [modified] Pin
thepersonof29-May-06 1:23
thepersonof29-May-06 1:23 
Thank you ... that worked great ... but I should hae explained
The bacis problem I have is this:

Type requiredtype = getType();<br />
Object[] datafrominputs = getData();<br />
//I need to convert the array to the correct type (requiredtype) to pass as a parameter<br />
MethodInfoArray.Invoke(new Object(),new Object[]{datafrominputs});


Basically the method will take a single array as its parameter, but I need to be able to convert may Object array to the right type. What should I do?


cheers
-- modified at 7:30 Monday 29th May, 2006
GeneralRe: array type at runtime Pin
S. Senthil Kumar29-May-06 19:41
S. Senthil Kumar29-May-06 19:41 
GeneralRe: array type at runtime Pin
thepersonof30-May-06 9:38
thepersonof30-May-06 9:38 
GeneralRe: array type at runtime Pin
S. Senthil Kumar30-May-06 19:20
S. Senthil Kumar30-May-06 19:20 
GeneralRe: array type at runtime Pin
thepersonof30-May-06 20:44
thepersonof30-May-06 20:44 
GeneralRe: array type at runtime Pin
S. Senthil Kumar31-May-06 7:14
S. Senthil Kumar31-May-06 7:14 
GeneralRe: array type at runtime Pin
thepersonof31-May-06 9:00
thepersonof31-May-06 9:00 
QuestionOutlook Add-In Pin
Malik Nasir28-May-06 23:51
Malik Nasir28-May-06 23:51 
Questionopening a .doc or .pdf file in richtextbox in C# Pin
AnurRS28-May-06 22:48
AnurRS28-May-06 22:48 
QuestionForLoop & Foreach Pin
SysJey28-May-06 22:30
SysJey28-May-06 22:30 
AnswerRe: ForLoop &amp; Foreach [modified] Pin
Colin Angus Mackay28-May-06 22:34
Colin Angus Mackay28-May-06 22:34 
GeneralRe: ForLoop & Foreach Pin
S. Senthil Kumar29-May-06 1:37
S. Senthil Kumar29-May-06 1:37 
GeneralRe: ForLoop & Foreach Pin
Colin Angus Mackay29-May-06 4:41
Colin Angus Mackay29-May-06 4:41 
QuestionCmd prompt Pin
Support12328-May-06 22:26
Support12328-May-06 22:26 
AnswerRe: Cmd prompt Pin
Colin Angus Mackay28-May-06 22:31
Colin Angus Mackay28-May-06 22:31 
GeneralRe: Cmd prompt Pin
Support12328-May-06 22:35
Support12328-May-06 22:35 
GeneralRe: Cmd prompt Pin
Colin Angus Mackay28-May-06 22:40
Colin Angus Mackay28-May-06 22:40 
GeneralRe: Cmd prompt Pin
Support12328-May-06 22:45
Support12328-May-06 22:45 

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.