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

@ -56,7 +56,7 @@ namespace MapControl
}
else
{
throw new ArgumentException("No coordinate transformation found in \"" + sourcePath + "\".");
throw new ArgumentException($"No coordinate transformation found in {sourcePath}.");
}
return new Tuple<BitmapSource, Matrix>(bitmap, transform);