public int ElementCount(bool optimized) { if (optimized) { return(1 + Value1.Optimize().ElementCount() + Value2.Optimize().ElementCount()); } else { return(1 + Value1.ElementCount() + Value2.ElementCount()); } }
public int ElementCount() => (Value1.ElementCount() + Value2.ElementCount()) - 1;