Use string interpolation

This commit is contained in:
Clemens 2022-01-20 22:15:43 +01:00
parent b69beda620
commit 6e02ea2c61
5 changed files with 18 additions and 18 deletions

View file

@ -38,7 +38,7 @@ namespace MapControl
}
else
{
throw new ArgumentException("No coordinate transformation found in \"" + sourcePath + "\".");
throw new ArgumentException($"No coordinate transformation found in {sourcePath}.");
}
if (metadata.GetQuery(NoDataQuery) is string noData && int.TryParse(noData, out int noDataValue))