public RotateChar(char c, char d) { Char = c; var next = new RotateChar(d); Left = next; Right = next; next.Left = this; next.Right = this; }
public RotateChar(char c, char d, char e, char f) { Char = c; var next1 = new RotateChar(d); var next2 = new RotateChar(e); var next3 = new RotateChar(f); Left = next3; Right = next1; next1.Left = this; next1.Right = next2; next2.Left = next1; next2.Right = next3; next3.Left = next2; next3.Right = this; }
public RotateChar(char c) { Char = c; Left = this; Right = this; }