Click here to Skip to main content
15,895,871 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionReaderWriterLock [modified] Pin
Hendrik Debedts21-Dec-06 10:03
Hendrik Debedts21-Dec-06 10:03 
QuestionNET remoting Pin
vanolviv21-Dec-06 4:01
vanolviv21-Dec-06 4:01 
AnswerRe: NET remoting Pin
vanolviv21-Dec-06 4:57
vanolviv21-Dec-06 4:57 
Questionhow to load the previously hidden form in C# Pin
NK721-Dec-06 0:28
NK721-Dec-06 0:28 
AnswerRe: how to load the previously hidden form in C# Pin
Keith Malwitz21-Dec-06 2:02
Keith Malwitz21-Dec-06 2:02 
GeneralRe: how to load the previously hidden form in C# Pin
Christian Graus21-Dec-06 19:40
protectorChristian Graus21-Dec-06 19:40 
QuestionList.BinarySearch results... Pin
Paul Selormey20-Dec-06 23:55
Paul Selormey20-Dec-06 23:55 
AnswerRe: List.BinarySearch results... Pin
Pete O'Hanlon21-Dec-06 0:54
mvePete O'Hanlon21-Dec-06 0:54 
Paul

In your list, you have two entries for 1. You sort your list, so both those entries will move together, i.e. be at position 0 and 1. Now, a binary search works by starting at the center of the list, and then deciding whether or not the value has been found or is higher or lower. In this case, it is lower. It effectively discards the top of the list and moves to the center of the lower selection and repeats this process again. It keeps going until it finds a match. In this case, it will find the item at position 1 because that is the first match it will find. I hope that this makes sense to you.


the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer

Deja View - the feeling that you've seen this post before.

GeneralRe: List.BinarySearch results... Pin
Paul Selormey21-Dec-06 19:33
Paul Selormey21-Dec-06 19:33 
AnswerRe: List.BinarySearch results.. Pin
Tarakeshwar Reddy21-Dec-06 0:58
professionalTarakeshwar Reddy21-Dec-06 0:58 
GeneralRe: List.BinarySearch results.. Pin
Paul Selormey21-Dec-06 19:34
Paul Selormey21-Dec-06 19:34 
Questionis the dataview being updated as I modify it? Pin
JoeRip20-Dec-06 23:29
JoeRip20-Dec-06 23:29 
AnswerRe: is the dataview being updated as I modify it? Pin
JoeRip21-Dec-06 10:44
JoeRip21-Dec-06 10:44 
QuestionHow do I handle events for dropdown menu items created on the fly? Pin
JoeRip20-Dec-06 20:43
JoeRip20-Dec-06 20:43 
AnswerRe: How do I handle events for dropdown menu items created on the fly? Pin
Tarakeshwar Reddy20-Dec-06 21:11
professionalTarakeshwar Reddy20-Dec-06 21:11 
GeneralRe: How do I handle events for dropdown menu items created on the fly? Pin
JoeRip20-Dec-06 21:21
JoeRip20-Dec-06 21:21 
GeneralRe: How do I handle events for dropdown menu items created on the fly? Pin
Tarakeshwar Reddy20-Dec-06 21:30
professionalTarakeshwar Reddy20-Dec-06 21:30 
GeneralRe: How do I handle events for dropdown menu items created on the fly? Pin
JoeRip20-Dec-06 21:49
JoeRip20-Dec-06 21:49 
GeneralRe: How do I handle events for dropdown menu items created on the fly? Pin
Tarakeshwar Reddy20-Dec-06 22:00
professionalTarakeshwar Reddy20-Dec-06 22:00 
QuestionSharing data across threads Pin
Hendrik Debedts20-Dec-06 4:09
Hendrik Debedts20-Dec-06 4:09 
AnswerRe: Sharing data across threads Pin
Keith Malwitz20-Dec-06 6:03
Keith Malwitz20-Dec-06 6:03 
GeneralRe: Sharing data across threads Pin
Hendrik Debedts20-Dec-06 23:35
Hendrik Debedts20-Dec-06 23:35 
QuestionShockwave Flash Component in visual studio 2005 Pin
morteza5719-Dec-06 23:37
morteza5719-Dec-06 23:37 
QuestionGetting reference of calling Assembly. Pin
Syed Muhammad Kamran19-Dec-06 18:55
Syed Muhammad Kamran19-Dec-06 18:55 
GeneralRe: Getting reference of calling Assembly. Pin
Guffa19-Dec-06 19:17
Guffa19-Dec-06 19:17 

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.