Click here to Skip to main content
15,881,424 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using sortedlist or sorteddictionary Pin
DaveyM6928-May-09 7:31
professionalDaveyM6928-May-09 7:31 
AnswerRe: Using sortedlist or sorteddictionary Pin
Luc Pattyn28-May-09 7:29
sitebuilderLuc Pattyn28-May-09 7:29 
GeneralRe: Using sortedlist or sorteddictionary Pin
michaelgr128-May-09 7:35
michaelgr128-May-09 7:35 
GeneralRe: Using sortedlist or sorteddictionary [modified] Pin
Luc Pattyn28-May-09 7:39
sitebuilderLuc Pattyn28-May-09 7:39 
AnswerRe: Using sortedlist or sorteddictionary Pin
dan!sh 28-May-09 7:30
professional dan!sh 28-May-09 7:30 
GeneralRe: Using sortedlist or sorteddictionary Pin
michaelgr128-May-09 7:42
michaelgr128-May-09 7:42 
GeneralRe: Using sortedlist or sorteddictionary Pin
michaelgr128-May-09 8:21
michaelgr128-May-09 8:21 
GeneralRe: Using sortedlist or sorteddictionary Pin
Henry Minute28-May-09 8:26
Henry Minute28-May-09 8:26 
Earlier today I had this exact error.
In my case it was because the key had been added with a preceding space. i.e. key = " abc", search = dict["abc"] <== error

So ensure that there are are no extraneous spaces in either the key, when added to the list, or your literal in the lookup.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: Using sortedlist or sorteddictionary Pin
michaelgr128-May-09 8:34
michaelgr128-May-09 8:34 
QuestionFile System C# Pin
sonya_rbi28-May-09 7:08
sonya_rbi28-May-09 7:08 
AnswerRe: File System C# Pin
DaveyM6928-May-09 7:28
professionalDaveyM6928-May-09 7:28 
AnswerRe: File System C# Pin
Luc Pattyn28-May-09 7:51
sitebuilderLuc Pattyn28-May-09 7:51 
QuestionAn elegant binding solution to getting the user to choose a COM port Pin
edwaugh28-May-09 7:02
edwaugh28-May-09 7:02 
AnswerRe: An elegant binding solution to getting the user to choose a COM port Pin
Ennis Ray Lynch, Jr.28-May-09 7:27
Ennis Ray Lynch, Jr.28-May-09 7:27 
AnswerRe: An elegant binding solution to getting the user to choose a COM port Pin
edwaugh28-May-09 9:30
edwaugh28-May-09 9:30 
QuestionA read only CheckBox in WPF Pin
edwaugh28-May-09 6:46
edwaugh28-May-09 6:46 
Questioncreating a calendar Pin
benjamin yap28-May-09 6:23
benjamin yap28-May-09 6:23 
AnswerRe: creating a calendar Pin
dan!sh 28-May-09 6:35
professional dan!sh 28-May-09 6:35 
GeneralRe: creating a calendar Pin
benjamin yap28-May-09 6:40
benjamin yap28-May-09 6:40 
GeneralRe: creating a calendar Pin
dan!sh 28-May-09 7:02
professional dan!sh 28-May-09 7:02 
AnswerRe: creating a calendar Pin
led mike28-May-09 7:02
led mike28-May-09 7:02 
QuestionFull text Search Pin
ellllllllie28-May-09 6:10
ellllllllie28-May-09 6:10 
AnswerRe: Full text Search Pin
EliottA28-May-09 8:45
EliottA28-May-09 8:45 
QuestionNumber of DataGridViewRow's that have Visible == true Pin
Dan Neely28-May-09 5:55
Dan Neely28-May-09 5:55 
AnswerRe: Number of DataGridViewRow's that have Visible == true Pin
dan!sh 28-May-09 6:25
professional dan!sh 28-May-09 6:25 

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.