Can I refer to a bool or int?
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?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
boxnPosted Sep 4, 2004, 6:55 AM
wygmailPosted Sep 4, 2004, 12:39 AM
timborama04Posted Sep 3, 2004, 3:00 PM
MykoninePosted Sep 3, 2004, 1:19 PM
wygmailPosted Sep 3, 2004, 8:19 AM
vitekPosted Sep 3, 2004, 5:18 AM