I am not sure why the condition below is not getting fulfilled.
else if (obj.GetType() == typeof(Dictionary<string, System.Collections.Specialized.StringCollection>))
Obj is an object of type Dictionary<string, System.Collections.Specialized.StringCollection>)
When I am executing the above code, it does not enter inside the else if condition.
Any pointers?
Instead of comparing them using
"=="you can compare them with is keyword, IsSubclassOf Method, and Equals() any of this will work for you in this case.