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
<November 2019>
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567
Statistics
Total Posts: 366
This Year: 2
This Month: 0
This Week: 0
Comments: 227
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.

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