Click here to Skip to main content
15,892,643 members
Home / Discussions / C#
   

C#

 
AnswerRe: Bitmap to ByteArray Conversion...? Pin
Lutosław22-Jul-08 0:40
Lutosław22-Jul-08 0:40 
Questionpop server connection Pin
kathiresanmoorthy21-Jul-08 19:35
kathiresanmoorthy21-Jul-08 19:35 
RantRe: pop server connection Pin
Guffa21-Jul-08 23:52
Guffa21-Jul-08 23:52 
Questionretreving the gridview row in color from sqlserver using boundfields Pin
santosh04221-Jul-08 18:53
santosh04221-Jul-08 18:53 
AnswerRe: retreving the gridview row in color from sqlserver using boundfields Pin
Srishti Mathur21-Jul-08 19:48
Srishti Mathur21-Jul-08 19:48 
Questionhow to get domain part from URL Pin
George_George21-Jul-08 17:22
George_George21-Jul-08 17:22 
AnswerRe: how to get domain part from URL Pin
Bert delaVega21-Jul-08 17:40
Bert delaVega21-Jul-08 17:40 
GeneralRe: how to get domain part from URL Pin
George_George21-Jul-08 18:14
George_George21-Jul-08 18:14 
AnswerRe: how to get domain part from URL Pin
N a v a n e e t h21-Jul-08 17:59
N a v a n e e t h21-Jul-08 17:59 
GeneralRe: how to get domain part from URL Pin
George_George21-Jul-08 19:16
George_George21-Jul-08 19:16 
QuestionHow to retrieve top 10 elements in a Dictionary Pin
George_George21-Jul-08 17:11
George_George21-Jul-08 17:11 
AnswerRe: How to retrieve top 10 elements in a Dictionary Pin
N a v a n e e t h21-Jul-08 18:03
N a v a n e e t h21-Jul-08 18:03 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
George_George21-Jul-08 19:21
George_George21-Jul-08 19:21 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
Guffa21-Jul-08 21:19
Guffa21-Jul-08 21:19 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
George_George21-Jul-08 21:34
George_George21-Jul-08 21:34 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
Guffa21-Jul-08 23:54
Guffa21-Jul-08 23:54 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
George_George22-Jul-08 0:09
George_George22-Jul-08 0:09 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
Guffa22-Jul-08 2:18
Guffa22-Jul-08 2:18 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
George_George27-Jul-08 1:33
George_George27-Jul-08 1:33 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
Guffa27-Jul-08 2:43
Guffa27-Jul-08 2:43 
GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
George_George31-Jul-08 1:53
George_George31-Jul-08 1:53 
AnswerRe: How to retrieve top 10 elements in a Dictionary [modified] Pin
Joe Woodbury21-Jul-08 20:40
professionalJoe Woodbury21-Jul-08 20:40 
Quickly, off the top of my head, you could create a linked list of objects with which you will do an insertion sort. You then run the dictionary, inserting objects into the array ONLY if the value is higher than the value at position zero OR if the array is empty. When inserting a new object, just insert it in the correct place.

Wow, I was being exceptionally thick tonight. I just realized that you could just use an OrderedDictionary.


Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke


modified on Tuesday, July 22, 2008 2:56 AM

GeneralRe: How to retrieve top 10 elements in a Dictionary Pin
George_George21-Jul-08 21:17
George_George21-Jul-08 21:17 
QuestionBind List<double[]> to Datagrid Pin
User 1278221-Jul-08 16:43
User 1278221-Jul-08 16:43 
Questionhow to get ideal time of system.. Pin
vayanan21-Jul-08 15:28
vayanan21-Jul-08 15:28 

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.