mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 05:43:10 -07:00
Use string interpolation instead of calling Format (#1929)
This commit is contained in:
parent
68c7159c87
commit
78cd6d52da
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ namespace CalculatorUITestFramework
|
|||
this.NegateButton.Click();
|
||||
break;
|
||||
default:
|
||||
throw (new ArgumentException(string.Format("{0} is not valid", digit)));
|
||||
throw (new ArgumentException($"{digit} is not valid"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue