name = None dob = None def __init__(self, id):现在我正在做这样的事情user = get_user_data() # this returns the dictionary like {'name': 'John', 'dob': '1992-07-12'}
现在,将数据分配给用户对象
Public aryCCC As New Dictionary(Of String, String)在数据库中,我存储了aryAAA、aryBBB、aryCCC和aryDDD的名称。在我的程序中,如果我读取了一个数据库记录,并且它返回了aryCCC,那么我希望能够使用该字典。我在想,我必须通过迭代system.collecton.generic.dictionary<