如何更改字典中多个键的值.
我有以下字典:
SortedDictionary<int,SortedDictionary<string,List<string>>>
Run Code Online (Sandbox Code Playgroud)
如果键值大于某个量,我想循环遍历此排序字典并将键更改为键+ 1.
我正在编写一个"监视器"对象,以方便我的应用程序的调试.可以在运行时从IronPython解释器访问此Monitor对象.我的问题是,在C#中是否可以存储对值类型的引用?说我有以下课程:
class Test
{
public int a;
}
Run Code Online (Sandbox Code Playgroud)
我可以以某种方式存储"指针"到"a",以便能够随时检查它的价值吗?是否可以使用安全和托管代码?
谢谢.