Refactor code to .NET8

This commit is contained in:
Michał Zieliski
2024-06-18 22:24:04 +02:00
parent c54b9b0e00
commit 3485ab26b0
10 changed files with 21 additions and 21 deletions

View File

@@ -21,7 +21,7 @@ public class BaseCalc
public bool IsFormulaCorrect()
{
// check left side of expression
if (!ResultCode.StartsWith("[") || !ResultCode.EndsWith("]"))
if (!ResultCode.StartsWith('[') || !ResultCode.EndsWith(']'))
{
return false;
}