📜  无法使用引用初始化按值变量 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:13.879000             🧑  作者: Mango

代码示例1
// must declare variable as ref as well!
ref int x = ref SomeClass.variable;