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