ここで、特定の座標で文字列を出力するプログラムを作成する必要があります。したがって、文字列の位置には 2 つの変数が必要であり、文字列には文字列変数が 1 つ必要であることはわかっていますが、続行する方法がわかりません。何か案は?
編集これはどこまで来たかです:
class ColoredText
{
public int x, y; // koordinaterna
public string hello;
ConsoleColor färg;
public ColoredText(int x, int y, string Position)
{
}
}