我看到这样的代码:
private readonly object[] m_Values = { (int)0, (int)0 };
将0转换为int的想法是什么?不是'默认'的int吗?
c# casting
c# ×1
casting ×1