I have a c++-cli function with input argument a dictionary of strings
Locate(Dictionary<String^, String^>^ Dic)
Sometimes the Dic that is being passed is empty. No entries at all in the first string or second string. How can I check if the dictionary Dic is completely empty? I know that TryGetValue works only if the first String exists.
Thanks.
You can check the Count property: