6
Answers

Can I refer to a bool or int?

wygmail

wygmail

20y
2.4k
1
I'd like to create a reference to value types, such as int or bool. It's something like this: int i =5; int j = ref i; j = 6; // I hope the value of i be 6, instead of 5. How can I do this?
Answers (6)