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
<October 2020>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
Statistics
Total Posts: 374
This Year: 7
This Month: 0
This Week: 0
Comments: 650
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.

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