Код: Выделить всё
glyphBuffer = new Glyph[_console.Buffer.Width, _console.Buffer.Height];
Код: Выделить всё
internal readonly struct Glyph
{
public readonly char Value;
public readonly int ForegroundIndex;
public readonly int BackgroundIndex;
public Glyph(char value, int foregroundIndex, int backgroundIndex)
{
Value = value;
ForegroundIndex = foregroundIndex;
BackgroundIndex = backgroundIndex;
}
}
Я проверил точки останова и на 100 % уверен, что это так.
п>
Подробнее здесь: https://stackoverflow.com/questions/783 ... right-size
Мобильная версия