jCalc/Calculator.xaml.cs
/// <summary>
/// Update displayTicker with different math operation at the tail
/// </summary>
/// <param name="c">Character that represents new math operation</param>
Update displayTicker with different math operation at the tail
Update displayTicker with different math operation at the tail
private void ReplaceTickerOperation(char c)
        {
            var length = displayTicker.Length;
            if (length > 0) 
            {
                displayTicker = displayTicker.Remove(length - 1) + c;
            }
        }
private void ReplaceTickerOperation ( char c ) { var length = displayTicker . Length ; if ( length > 0 ) { displayTicker = displayTicker . Remove ( length - 1 ) + c ; } }
Update displayTicker with different math operation at the tail
Update displayTicker with different math operation at the tail
// should always be true!
c
char
Character that represents new math operation
Character that represents new math operation