From d4f7b94dea8b9b0705d8f2a8870be4ba7f743171 Mon Sep 17 00:00:00 2001 From: Jeremy Pritts Date: Tue, 5 Jul 2022 11:22:42 -0400 Subject: [PATCH] string interpolation --- AtcTest/Program.cs | 2 +- DxtTest/Program.cs | 2 +- EtcTest/Program.cs | 2 +- PvrtcTest/Program.cs | 2 +- RgbTest/Program.cs | 2 +- Yuy2Test/Program.cs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AtcTest/Program.cs b/AtcTest/Program.cs index cba81ec..9774af5 100644 --- a/AtcTest/Program.cs +++ b/AtcTest/Program.cs @@ -45,7 +45,7 @@ namespace AtcTest } stopwatch.Stop(); - Console.WriteLine("Processed " + stopwatch.ElapsedMilliseconds); + Console.WriteLine($"Processed in {stopwatch.ElapsedMilliseconds} ms"); stopwatch.Reset(); key = Console.ReadKey(); } diff --git a/DxtTest/Program.cs b/DxtTest/Program.cs index cda9579..3c1326c 100644 --- a/DxtTest/Program.cs +++ b/DxtTest/Program.cs @@ -50,7 +50,7 @@ namespace DxtTest } stopwatch.Stop(); - Console.WriteLine("Processed " + stopwatch.ElapsedMilliseconds); + Console.WriteLine($"Processed in {stopwatch.ElapsedMilliseconds} ms"); stopwatch.Reset(); } diff --git a/EtcTest/Program.cs b/EtcTest/Program.cs index 6b6c135..6e5ea7f 100644 --- a/EtcTest/Program.cs +++ b/EtcTest/Program.cs @@ -63,7 +63,7 @@ namespace EtcTest } stopwatch.Stop(); - Console.WriteLine("Processed " + stopwatch.ElapsedMilliseconds); + Console.WriteLine($"Processed in {stopwatch.ElapsedMilliseconds} ms"); stopwatch.Reset(); key = Console.ReadKey(); } diff --git a/PvrtcTest/Program.cs b/PvrtcTest/Program.cs index 816babe..de2ebd4 100644 --- a/PvrtcTest/Program.cs +++ b/PvrtcTest/Program.cs @@ -34,7 +34,7 @@ namespace PvrtcTest PvrtcDecoder.DecompressPVRTC(data, width, height, do2bit, bitmap.Bits); stopwatch.Stop(); - Console.WriteLine("Processed " + stopwatch.ElapsedMilliseconds); + Console.WriteLine($"Processed in {stopwatch.ElapsedMilliseconds} ms"); stopwatch.Reset(); key = Console.ReadKey(); } diff --git a/RgbTest/Program.cs b/RgbTest/Program.cs index 9db97e6..9ecadde 100644 --- a/RgbTest/Program.cs +++ b/RgbTest/Program.cs @@ -113,7 +113,7 @@ namespace RgbTest } stopwatch.Stop(); - Console.WriteLine("Processed " + stopwatch.ElapsedMilliseconds); + Console.WriteLine($"Processed in {stopwatch.ElapsedMilliseconds} ms"); stopwatch.Reset(); } diff --git a/Yuy2Test/Program.cs b/Yuy2Test/Program.cs index b89fc57..17fb1ec 100644 --- a/Yuy2Test/Program.cs +++ b/Yuy2Test/Program.cs @@ -32,7 +32,7 @@ namespace Yuy2Test Yuy2Decoder.DecompressYUY2(data, width, height, bitmap.Bits); stopwatch.Stop(); - Console.WriteLine("Processed " + stopwatch.ElapsedMilliseconds); + Console.WriteLine($"Processed in {stopwatch.ElapsedMilliseconds} ms"); stopwatch.Reset(); key = Console.ReadKey(); }