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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Roei BarPosted Sep 16, 2009, 2:58 AM
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
Niradhip ChakrabortyPosted Sep 16, 2009, 2:57 AM
http://dotnetperls.com/dictionary-parameter