Abs method

int Abs(
  1. int value
)

Implementation

int Abs(int value) => value < 0 ? -value : value;