Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
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 
George_George wrote:
From left side of the assignment, do you miss a variable name?


Correct.

George_George wrote:
What does this operator mean item=>item.Value>=tr?


It's a lambda expression. When it's not turned into an expression object it's equivalent to a delegate, which you can use if you don't have C# 3:

delegate(KeyValuePair<string,int> item){ return item.Value >= tr; }

Despite everything, the person most likely to be fooling you next is yourself.

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 
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&lt;double[]&gt; 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 
AnswerRe: how to get ideal time of system.. Pin
Luc Pattyn21-Jul-08 15:40
sitebuilderLuc Pattyn21-Jul-08 15:40 
GeneralRe: how to get ideal time of system.. Pin
vayanan21-Jul-08 17:31
vayanan21-Jul-08 17:31 
QuestionC# macro recorder Pin
nelsonpaixao21-Jul-08 13:46
nelsonpaixao21-Jul-08 13:46 
AnswerRe: C# macro recorder Pin
leppie21-Jul-08 14:39
leppie21-Jul-08 14:39 
AnswerRe: C# macro recorder Pin
leppie21-Jul-08 21:58
leppie21-Jul-08 21:58 
QuestionWhat property controls the "format" of DataTable columns? Pin
JoeRip21-Jul-08 13:22
JoeRip21-Jul-08 13:22 
AnswerRe: What property controls the "format" of DataTable columns? Pin
JoeRip21-Jul-08 13:34
JoeRip21-Jul-08 13:34 
GeneralRe: What property controls the "format" of DataTable columns? Pin
leppie21-Jul-08 14:40
leppie21-Jul-08 14:40 
Questionextern keyword not only with DllImportAttributte Pin
Lutosław21-Jul-08 13:01
Lutosław21-Jul-08 13:01 
AnswerRe: extern keyword not only with DllImportAttributte Pin
leppie21-Jul-08 14:46
leppie21-Jul-08 14:46 

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.