Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
Can I refer to a bool or int?
wygmail
20y
2.4k
1
Reply
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?
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
executing content of *.sql script in C# language
error 1 - Invalid expression term "(CS1525) and error 2 - ; expected(CS1002)