RSS 2.0
Sign In
# Sunday, February 7, 2010

Given:

public class N
{
  public readonly N next;
}

What needs to be done to construct a ring of N: n1 refers to n2, n2 to n3, ... nk to n1? Is it possible?

Sunday, February 7, 2010 7:57:08 AM UTC  #    Comments [2] -
Thinking aloud | Tips and tricks
Thursday, March 18, 2010 6:56:05 AM UTC
I think it's possible to assign a readonly field with reflection.
Otherwise I guess that's not possible. Am I right?
Monday, March 22, 2010 11:37:56 AM UTC
> I think it's possible to assign a readonly field with reflection.
> Otherwise I guess that's not possible. Am I right?

Simpler! :-)
Reformulated question will help.
What constructor(s) should be defined over this class to make it possible?
Vladimir Nesterovsky
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

[Captcha]Enter the code shown (prevents robots):

Live Comment Preview
Archive
<September 2022>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678
Statistics
Total Posts: 381
This Year: 2
This Month: 0
This Week: 0
Comments: 691
Locations of visitors to this page
Disclaimer
The opinions expressed herein are our own personal opinions and do not represent our employer's view in anyway.

© 2022, Nesterovsky bros
All Content © 2022, Nesterovsky bros
DasBlog theme 'Business' created by Christoph De Baene (delarou)