5 MyColor
[] c
= new MyColor
[1];
6 c
[0] += new MyColor (1.3F
);
7 c
[0] += new MyColor (1.5F
);
8 if (c
[0].Value
!= 2.8F
)
17 public MyColor (float value)
24 get { return _value; }
27 public static MyColor
operator + (MyColor a
, MyColor b
)
29 return new MyColor (a
._value
+ b
._value
);