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

.NET (Core and Framework)

 
AnswerRe: NET remoting Pin
vanolviv22-Dec-06 0:51
vanolviv22-Dec-06 0:51 
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 
I was expecting the result of this search for "1" to be at location "0"
<br />
    class Program<br />
    {<br />
        static void Main(string[] args)<br />
        {<br />
            List<double> listItems = new List<double>();<br />
<br />
            listItems.Add(1);<br />
            listItems.Add(2);<br />
            listItems.Add(4);<br />
            listItems.Add(6);<br />
            listItems.Add(4);<br />
            listItems.Add(3);<br />
            listItems.Add(8);<br />
            listItems.Add(4);<br />
            listItems.Add(1);<br />
<br />
            listItems.Sort();<br />
<br />
            for (int i = 0; i < listItems.Count; i++)<br />
            {<br />
                Console.WriteLine("{0} : {1}", i, listItems[i]);<br />
            }<br />
<br />
            Console.WriteLine(listItems.BinarySearch(1));<br />
        }<br />
    }<br />

However, the result is at location "1". Any reason for this?

With love,
Paul.

Jesus Christ is LOVE! Please tell somebody.

AnswerRe: List.BinarySearch results... Pin
Pete O'Hanlon21-Dec-06 0:54
mvePete O'Hanlon21-Dec-06 0:54 
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 

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.