Пример #1
0
 public int this[Percentage p] => from + (int)((to - from) * p.value);
Пример #2
0
 public float this[Percentage p] => from + (to - from) * p.value;