c# out参数直接写法

        //当前历史记录里有此着法
        if (historyDic.TryGetValue(move, out int score))
        {
            historyDic[move] += 2 << depth;
        }

可以不定义,直接这么写

原文地址:https://www.cnblogs.com/baozhu/p/12174362.html