Refactor code to .NET8
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user