TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
clement
NA
3
0
Use value-type references with generic
Sep 14 2008 9:46 PM
Dear C# experts,
Is there any way to parametrize generics with value type reference.
I want to do something like this :
myObject.ID = 1;
List<ref int> myInts = new List<ref int>();
myInts.add(ref myObject.ID);
myInts[0] = 2;
Assert.IsTrue(myObject.ID == 2);
Reply
Answers (
2
)
Datrow getParentRow
Basic C# blackjack game