Skip to content

Commit 28847eb

Browse files
committed
minor
1 parent 31b018b commit 28847eb

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

ConsoleApplication1/Program.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Linq;
32
using System.Collections.Generic;
43
using System.Drawing;
54
using System.Drawing.Imaging;
@@ -36,8 +35,8 @@ static void Main(string[] args)
3635
int? mode = colors.Mode<int>();
3736
if (mode.HasValue)
3837
{
39-
Color color = Color.FromArgb(mode.Value);
40-
Console.WriteLine("Modal colors is R={0}, G={1}, B={2}", color.R, color.G, color.B);
38+
Color color = Color.FromArgb(mode.Value);
39+
Console.WriteLine("Modal color is R={0}, G={1}, B={2}", color.R, color.G, color.B);
4140
}
4241
else
4342
{
@@ -50,7 +49,7 @@ static void Main(string[] args)
5049
using (var writer = new StreamWriter(file))
5150
{
5251
writer.WriteLine("color,count");
53-
foreach(var bin in histogram)
52+
foreach (var bin in histogram)
5453
{
5554
writer.WriteLine("{0},{1}", Math.Round(bin.RepresentativeValue, 0, MidpointRounding.AwayFromZero), bin.Count);
5655
}

0 commit comments

Comments
 (0)