Dictionary的TryGetValue方法

这个方法时常会用到,并且颇有效。TryGetValue:获取与指定的键相关联的值ide 好比咱们读取一个xml文件,让后将其写入到Dictionary中存储:测试 [csharp]  view plain  copy private static Dictionary<string, string> SqlKeyValues = null;          /// <summary>      
相关文章
相关标签/搜索