Console.CursorVisible : Console « System « C# / C Sharp by API






Console.CursorVisible

 

using System;

public class Test{
   static void Main(string[] args){


      // Change the Console appearance and redisplay.
      Console.Title = "Resized Console";
      Console.ResetColor();
      Console.Clear();
      Console.SetWindowSize(100, 50);
      Console.BufferHeight = 500;
      Console.BufferWidth = 100;
      Console.CursorLeft = 20;
      Console.CursorSize = 50;
      Console.CursorTop = 20;
      Console.CursorVisible = false;
      Console.WriteLine("Main method complete. Press Enter.");
      Console.ReadLine();

  }
}

   
  








Related examples in the same category

1.Console.BackgroundColor
2.Console.Beep()
3.Console.Beep(200, 300)
4.Console.BufferHeight
5.Console.BufferWidth
6.Console.Clear()
7.Console.CursorLeft
8.Console.CursorSize
9.Console.CursorTop
10.Console.ForegroundColor
11.Console.In
12.Console.Out
13.Console.Read()
14.Console.ReadLine()
15.Console.ResetColor()
16.Console.SetOut
17.Console.SetWindowSize
18.Console.Title
19.Console.Write
20.Console.WriteLine