Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

E01 C# Tutorial

Using VS Code

Console.WindowHeight = 40;

Isn't working it keeps throwing back

Exception has occurred: CLR/System.PlatformNotSupportedException



using System;

using System.Collections.Generic;

using System.Linq;


namespace MyApp // Note: actual namespace depends on the project name.

{

public class Program

{

public static void Main(string[] args)

{

//Change The appearance

Console.Title = "Skynet";

Console.ForegroundColor = ConsoleColor.Green;

Console.WindowHeight = 40;

Console.ReadKey();

}

}

}


Sign In or Register to comment.