'Hide Mouse Cursor in C# Console Application

Cursor.Hide() in Console App

Sup

Is it possible to hide mouse cursor in .Net Framework C# Console Application? Visual Studio Community 2019 .Net Framework 4.8

I've added a link to System.Windows.Forms

I'm making a console game and I'm using Cursor.Position.X and Cursor.Position.Y to move a camera But i don't need this damn cursor on my screen

Edit:

My question is still open.. Any "Cursor.Current = Cursors.None" or "Custom" (or "Wait" or something else.. does not matter) is not working. Could anyone help me? Better be if you place a piece of code that already tested in Console Application (Not a Win Forms App)

And BTW I can't "trap" the cursor somewhere because I use it movements to move the camera



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source