Click here to Skip to main content
15,878,959 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to get values after dictionary sorting by values with linq Pin
Not Active25-Mar-10 1:46
mentorNot Active25-Mar-10 1:46 
GeneralRe: How to get values after dictionary sorting by values with linq Pin
igalep13225-Mar-10 1:56
igalep13225-Mar-10 1:56 
GeneralRe: How to get values after dictionary sorting by values with linq Pin
igalep13225-Mar-10 2:06
igalep13225-Mar-10 2:06 
AnswerRe: How to get values after dictionary sorting by values with linq Pin
Keith Barrow25-Mar-10 2:02
professionalKeith Barrow25-Mar-10 2:02 
GeneralRe: How to get values after dictionary sorting by values with linq Pin
igalep13225-Mar-10 2:07
igalep13225-Mar-10 2:07 
GeneralRe: How to get values after dictionary sorting by values with linq Pin
igalep13225-Mar-10 5:04
igalep13225-Mar-10 5:04 
GeneralRe: How to get values after dictionary sorting by values with linq Pin
Keith Barrow25-Mar-10 5:25
professionalKeith Barrow25-Mar-10 5:25 
GeneralRe: How to get values after dictionary sorting by values with linq Pin
igalep13225-Mar-10 14:27
igalep13225-Mar-10 14:27 
that's my solution

foreach (KeyValuePair<char, int> kvp in sortedDicByLetters)
            {
                if (i < 4)
                {
                    encryptionKey[tmpCarr[i]] = kvp.Key;
                    i++;
                }
                else
                    break;
            }


one more question,
after a sort a KeyValuePair with linq, how can i replace the old unsorted data inside the dictionary ?

tanks
AnswerRe: How to get values after dictionary sorting by values with linq Pin
lukaszbl25-Mar-10 2:04
lukaszbl25-Mar-10 2:04 
QuestionDelegates - What is the use of it? Pin
Praveen Raghuvanshi25-Mar-10 1:19
professionalPraveen Raghuvanshi25-Mar-10 1:19 
AnswerRe: Delegates - What is the use of it? Pin
harold aptroot25-Mar-10 1:38
harold aptroot25-Mar-10 1:38 
AnswerRe: Delegates - What is the use of it? [modified] Pin
Keith Barrow25-Mar-10 1:39
professionalKeith Barrow25-Mar-10 1:39 
GeneralRe: Delegates - What is the use of it? Pin
Not Active25-Mar-10 1:44
mentorNot Active25-Mar-10 1:44 
GeneralRe: Delegates - What is the use of it? Pin
DaveyM6925-Mar-10 1:48
professionalDaveyM6925-Mar-10 1:48 
GeneralRe: Delegates - What is the use of it? Pin
Keith Barrow25-Mar-10 1:56
professionalKeith Barrow25-Mar-10 1:56 
QuestionCrystal Report Pin
Syed Shahid Hussain25-Mar-10 1:09
Syed Shahid Hussain25-Mar-10 1:09 
QuestionGet SQL Server 2005 Database Table Details Dynamically Pin
thanushkag25-Mar-10 0:30
thanushkag25-Mar-10 0:30 
AnswerRe: Get SQL Server 2005 Database Table Details Dynamically Pin
Mycroft Holmes25-Mar-10 1:04
professionalMycroft Holmes25-Mar-10 1:04 
AnswerRe: Get SQL Server 2005 Database Table Details Dynamically Pin
Ravi Bhavnani25-Mar-10 2:06
professionalRavi Bhavnani25-Mar-10 2:06 
QuestionResource File Pin
Syed Shahid Hussain25-Mar-10 0:29
Syed Shahid Hussain25-Mar-10 0:29 
AnswerRe: Resource File Pin
Tony Richards25-Mar-10 2:43
Tony Richards25-Mar-10 2:43 
GeneralRe: Resource File Pin
Syed Shahid Hussain25-Mar-10 2:48
Syed Shahid Hussain25-Mar-10 2:48 
AnswerRe: Resource File Pin
Bernhard Hiller25-Mar-10 3:18
Bernhard Hiller25-Mar-10 3:18 
GeneralRe: Resource File Pin
Syed Shahid Hussain25-Mar-10 4:09
Syed Shahid Hussain25-Mar-10 4:09 
QuestionSerialization Pin
vamsimohan2125-Mar-10 0:11
vamsimohan2125-Mar-10 0:11 

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.