I am working with collection ,
I have a generic collection of type string string
I just check the key is contained in collection or not
I am able to retrieve the key, but is collection.keys.contain not working
Please suggest what i m doing wrong here
It seems that the keys in dictionary starts and ends with double quotes.
try checking key exit like below
Also as per this screenshot of yours
you can see the back slash before appcode, it there to escape that double quote
You are right , Any idea How to over come from this
I am reading a text file and adding to dictionary
it looks like JSON file to me.
In more appropriate way to try to de-serialize it.
and simpler way would to keep your logic as is and the remove the double quotes after reading the text file.
Thanks Buddy ,
For Quick answer and ur suggestion
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.