operator + method

int operator +(
  1. Digit addend
)

Adds two digits together, returning the result as an int.

Implementation

int operator +(Digit addend) => toInt() + (addend.toInt());