public void Init() { NumberStyles intStyle = NumberStyles.Integer | NumberStyles.AllowThousands; intStyleWrapper = new ParseMethod2Wrapper <int, NumberStyles>(int.Parse, intStyle); NumberStyles floatStyle = NumberStyles.Float | NumberStyles.AllowThousands; floatStyleWrapper = new ParseMethod2Wrapper <float, NumberStyles>(float.Parse, floatStyle); }
public void Init() { NumberStyles intStyle = NumberStyles.Integer | NumberStyles.AllowThousands; intStyleWrapper = new ParseMethod2Wrapper<int, NumberStyles>(int.Parse, intStyle); NumberStyles floatStyle = NumberStyles.Float | NumberStyles.AllowThousands; floatStyleWrapper = new ParseMethod2Wrapper<float, NumberStyles>(float.Parse, floatStyle); }