The program does not run for me

Metaconta 41 Reputation points
2023-01-22T14:07:24.03+00:00

It doesn't run this code for me and gives me these errors.

`module Configuracion_ventanas_Consola_CF open System // Título de la ventana. Console.Title -> "Título de la ventana";

        // Tamaño de la ventana, x, y o, ancho y alto.
        const byte ancho = 80;
        const byte alto = 20;
        Console.SetWindowSize(ancho, alto);

        // Color de fondo.
        Console.BackgroundColor = ConsoleColor.Black;

        // Color de las letras.
        Console.ForegroundColor = ConsoleColor.Green;

        // Limpiar pantalla y dejarlo todo en color de fondo.
        Console.Clear();

        // Visible el cursor. // No! Así lo haces invisible.
        Console.CursorVisible = false;
        

        // Posición del cursor.
        int anchoX = 20;
        int altoY = 8;
        Console.SetCursorPosition(anchoX, altoY);

        // Mostrar textos.
        Console.WriteLine("Estás leyendo este texto en pantalla. C#");

        // Pulse cualquier tecla para salir.
        Console.ReadKey();`

Identifier was not expected. in definition. Incomplete Structured Construction expected at or before this point. or another token.

.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
89 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more