Dictionary booksUrl = new Dictionary(); 请问如何遍历

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 21:53:02
Dictionary booksUrl = new Dictionary(); 请问如何遍历

Dictionary booksUrl = new Dictionary(); 请问如何遍历
Dictionary booksUrl = new Dictionary(); 请问如何遍历

Dictionary booksUrl = new Dictionary(); 请问如何遍历
Dictionary booksUrl = new Dictionary();
foreach (KeyValuePair ItemKey in booksUrl)
{
string booksUrlKey = ItemKey.Key;
Dictionary booksUrlValue = ItemKey.Value;
foreach (KeyValuePair ChildKey in booksUrlValue)
{
string tempDictionaryKey = ChildKey.Key;
string tempDictionaryValue = ChildKey.Value;
}
}