I have never used a SortedDictionary and was just curious if when you add values to it, for example, in a for loop, do the values get sorted automatically when you add them or do you have to sort them after you add them.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s done automatically. The dictionary is structured in such a way that it must be sorted to operate correctly.