I have a parameter that takes Dictionary
As far as know, the caller cannot pass Another Collection object other than Dictionary (ie. cant pass ArrayList, List
TY in Advance
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Sep 15, 2009, 10:57 PM EDT
http://dotnetperls.com/dictionary-parameter
Roei BarRank #1,271 · 1.4K reputationPosted Sep 15, 2009, 10:58 PM EDT
say your Dictionery is based on IDNum,Email
you will need to make sure of a few things :
Email Validity
and that the Key - IDNum doesnt exist in the dictionery since you cant insert it again.
you wont get any argument Exception but you might get KeyValidationException
of KeyIndex doesnt exist, Key Already Exists