In Output screen, When I press 2, then it prints D2.
Why It prints D before output? I am using Visual studio 2019.
using System;
using System.Collections.Generic;
using System.Text;
namespace CSharp5
{
class Class3
{
static void Main()
{
ConsoleKeyInfo m = Console.ReadKey();
Console.WriteLine("\n" + m.Key);
}
}
}