protected SampleDataClass2(SerializationInfo information, StreamingContext context) { this.state = (SampleEnum1)information.GetValue("state", typeof(SampleEnum1)); this.values = (double[])information.GetValue("values", typeof(double[])); }
public SampleDataClass2() { this.state = default(SampleEnum1); this.values = new double[] { }; }
public SampleDataClass2(SampleEnum1 state, double[] values) { this.state = state; this.values = values; }