REFACTOR: Use string interpolation expression.

This commit is contained in:
2017-12-21 17:58:51 +00:00
parent a895700757
commit 4e6e8f340a
182 changed files with 766 additions and 1256 deletions

View File

@@ -130,7 +130,7 @@ namespace DiscImageChef.DiscImages
ImageInfo.ImageLastModificationTime = imageFilter.GetLastWriteTime();
ImageInfo.ImageName = Path.GetFileNameWithoutExtension(imageFilter.GetFilename());
ImageInfo.XmlMediaType = XmlMediaType.BlockMedia;
ImageInfo.ImageVersion = string.Format("{0}.{1}", hdr.revision >> 8, hdr.revision & 0x0F);
ImageInfo.ImageVersion = $"{hdr.revision >> 8}.{hdr.revision & 0x0F}";
if(!ArrayHelpers.ArrayIsNullOrEmpty(hdr.identify))
{