Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to generate a random number Pin
seee sharp26-Oct-06 21:43
seee sharp26-Oct-06 21:43 
Questionhow to install asian language support for windows when installing my software Pin
sikandarhayat26-Oct-06 20:13
sikandarhayat26-Oct-06 20:13 
AnswerRe: how to install asian language support for windows when installing my software Pin
Sebastian Schneider27-Oct-06 1:25
Sebastian Schneider27-Oct-06 1:25 
GeneralRe: how to install asian language support for windows when installing my software Pin
sikandarhayat27-Oct-06 1:52
sikandarhayat27-Oct-06 1:52 
QuestionHow to Create my own component using C# Pin
pubudu_nt26-Oct-06 20:05
pubudu_nt26-Oct-06 20:05 
AnswerRe: How to Create my own component using C# Pin
Nader Elshehabi26-Oct-06 21:15
Nader Elshehabi26-Oct-06 21:15 
QuestionIcomparer runtime error Pin
kshet2626-Oct-06 20:01
kshet2626-Oct-06 20:01 
AnswerRe: Icomparer runtime error Pin
Stefan Troschuetz26-Oct-06 21:32
Stefan Troschuetz26-Oct-06 21:32 
It would be nice to know what exception the IComparer threw. It should be accessible through the InnerException property of the thrown InvalidOperationException.

If I have to guess, I'd say that you are getting an InvalidCastException. It seems your outerContents array contains allInfo objects as you're casting the objects a and b to it in your compare method. As object to search for you pass in something called movieId, so I guess it's a plain int or something similar which can't be cast to allInfo.


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

AnswerRe: Icomparer runtime error Pin
ednrgc27-Oct-06 2:30
ednrgc27-Oct-06 2:30 
QuestionReflection Help Pin
lavanya_satheesh26-Oct-06 19:41
lavanya_satheesh26-Oct-06 19:41 
AnswerRe: Reflection Help Pin
engsrini26-Oct-06 21:09
engsrini26-Oct-06 21:09 
AnswerRe: Reflection Help Pin
Nader Elshehabi26-Oct-06 21:37
Nader Elshehabi26-Oct-06 21:37 
AnswerRe: Reflection Help Pin
Pete O'Hanlon27-Oct-06 1:30
mvePete O'Hanlon27-Oct-06 1:30 
GeneralRe: Reflection Help Pin
lavanya_satheesh27-Oct-06 19:07
lavanya_satheesh27-Oct-06 19:07 
Questionhow to make a treeview node invisible using the code in C# Pin
kalaveer26-Oct-06 18:55
kalaveer26-Oct-06 18:55 
AnswerRe: how to make a treeview node invisible using the code in C# Pin
ednrgc27-Oct-06 2:34
ednrgc27-Oct-06 2:34 
AnswerRe: how to make a treeview node invisible using the code in C# [modified] Pin
DiegoValdevino28-Oct-06 2:04
DiegoValdevino28-Oct-06 2:04 
GeneralRe: how to make a treeview node invisible using the code in C# Pin
joekecalo26-Feb-10 2:34
joekecalo26-Feb-10 2:34 
Questiongetting a latest value that was inserted into a database. Pin
steve_rm26-Oct-06 17:49
steve_rm26-Oct-06 17:49 
AnswerRe: getting a latest value that was inserted into a database. Pin
sam#26-Oct-06 18:58
sam#26-Oct-06 18:58 
AnswerRe: getting a latest value that was inserted into a database. Pin
Navi1526-Oct-06 19:06
Navi1526-Oct-06 19:06 
QuestionC# - Working with file Pin
leanhsang26-Oct-06 17:10
leanhsang26-Oct-06 17:10 
AnswerRe: C# - Working with file Pin
engsrini26-Oct-06 19:01
engsrini26-Oct-06 19:01 
AnswerRe: C# - Working with file Pin
sam#26-Oct-06 19:01
sam#26-Oct-06 19:01 
AnswerRe: C# - Working with file Pin
ednrgc27-Oct-06 2:42
ednrgc27-Oct-06 2:42 

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.