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

C#

 
AnswerRe: Plug in application Pin
benjymous8-Dec-08 23:31
benjymous8-Dec-08 23:31 
QuestionLauterbach Datentechnik GmbH API for Trace 32 and C# Pin
TJS4u8-Dec-08 22:04
TJS4u8-Dec-08 22:04 
AnswerRe: Lauterbach Datentechnik GmbH API for Trace 32 and C# Pin
Mark McLean (ExpElec)1-Jul-14 2:46
professionalMark McLean (ExpElec)1-Jul-14 2:46 
QuestionWorking with value pairs(a key and a value) Pin
CodingLover8-Dec-08 21:44
CodingLover8-Dec-08 21:44 
AnswerRe: Working with value pairs(a key and a value) Pin
Giorgi Dalakishvili8-Dec-08 21:50
mentorGiorgi Dalakishvili8-Dec-08 21:50 
GeneralRe: Working with value pairs(a key and a value) Pin
Luc Pattyn8-Dec-08 21:51
sitebuilderLuc Pattyn8-Dec-08 21:51 
NewsRe: Working with value pairs(a key and a value) Pin
CodingLover8-Dec-08 21:55
CodingLover8-Dec-08 21:55 
GeneralRe: Working with value pairs(a key and a value) Pin
Luc Pattyn8-Dec-08 22:35
sitebuilderLuc Pattyn8-Dec-08 22:35 
Hi,

you can add/replace key-value pairs as shown before.

for a Dictionary<(TKey, TValue> you can enumerate all keys
with foreach(TKey key in Dictionary.Keys) {...}

and similar stuff goes for old Hashtables.

WARNING: dictionaries, hashtables don't preserve chronology, so there is no guarantee that "One 2" will come first in the enumeration. If you insist on having that, you will need a different approach,
most likely a combination of a List and a Dictionary (a List preserves order unless you instruct it to drop the order, e.g. by sorting).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Fixturized forever. Confused | :confused:


AnswerRe: Working with value pairs(a key and a value) Pin
N a v a n e e t h8-Dec-08 21:54
N a v a n e e t h8-Dec-08 21:54 
AnswerRe: Working with value pairs(a key and a value) Pin
TJS4u8-Dec-08 21:56
TJS4u8-Dec-08 21:56 
AnswerRe: Working with value pairs(a key and a value) Pin
Brij8-Dec-08 22:02
mentorBrij8-Dec-08 22:02 
GeneralRe: Working with value pairs(a key and a value) Pin
Luc Pattyn8-Dec-08 22:29
sitebuilderLuc Pattyn8-Dec-08 22:29 
AnswerRe: Working with value pairs(a key and a value) Pin
Navneet Hegde8-Dec-08 22:45
Navneet Hegde8-Dec-08 22:45 
GeneralRe: Working with value pairs(a key and a value) Pin
TJS4u8-Dec-08 23:04
TJS4u8-Dec-08 23:04 
GeneralRe: Working with value pairs(a key and a value) Pin
Navneet Hegde8-Dec-08 23:18
Navneet Hegde8-Dec-08 23:18 
GeneralRe: Working with value pairs(a key and a value) Pin
TJS4u9-Dec-08 23:24
TJS4u9-Dec-08 23:24 
AnswerRe: Working with value pairs(a key and a value) Pin
Seraph_summer8-Dec-08 23:50
Seraph_summer8-Dec-08 23:50 
QuestionCan I use assembly .net dll file for other language? Pin
DavidKim24c8-Dec-08 20:36
DavidKim24c8-Dec-08 20:36 
RantRe: Can I use assembly .net dll file for other language? Pin
TJS4u8-Dec-08 22:23
TJS4u8-Dec-08 22:23 
Questiondatagridview paging (windows application using c#) Pin
kulandaivel_mca20078-Dec-08 20:15
kulandaivel_mca20078-Dec-08 20:15 
AnswerRe: datagridview paging (windows application using c#) Pin
Christian Graus8-Dec-08 21:06
protectorChristian Graus8-Dec-08 21:06 
AnswerRe: datagridview paging (windows application using c#) Pin
vlinker8-Dec-08 21:45
vlinker8-Dec-08 21:45 
RantRe: datagridview paging (windows application using c#) Pin
Eddy Vluggen9-Dec-08 1:34
professionalEddy Vluggen9-Dec-08 1:34 
GeneralRe: datagridview paging (windows application using c#) Pin
kulandaivel_mca20079-Dec-08 18:16
kulandaivel_mca20079-Dec-08 18:16 
QuestionKeyboard is not working (such as page down) Pin
Ronenb8-Dec-08 20:14
Ronenb8-Dec-08 20:14 

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.