how do i create a red rectangle in console application that is a certain amount of pixels in width and height.
I have found ways to do it but not in a way that i can decide how many pixels it is in widht and height. If you can please help me with my problem.
I have tried almost anything that comes up on google and somw things that i tried myslef.
I thought of this but that doesnt specify the amount of pixels and i cant change the amount either:
Console.OutpuEncoding = Encoding.GetEncoding(866);
Console.Writeline("┌─┐");
Console.WriteLine("│1│");
Console.WriteLine("└─┘");