Horje
how to write text in specific position in c# Code Example
how to write text in specific position in c#
void WriteAt(int x, int y, string MessageText)
{
	int OldCursorX = System.Console.CursorLeft;
    int OldCursorY = System.Console.CursorTop;
    System.Console.SetCursorPosition(x, y);
    System.Console.Write(MessageText);
    System.Console.SetCursorPosition(OldCursorX, OldCursorY);
}

/*
WriteAt function is works like that example:
*/
WriteAt(10, 20, "HeLLo WoRlD!!");
/*
This is will send a message in the left-position:10 and the top-position:20 and the text is: "HeLLo WoRlD!!".
*/




Csharp

Related
signalr Code Example signalr Code Example
color' does not contain a definition for red' c# Code Example color' does not contain a definition for red' c# Code Example
link form to a button in dashbord visual c# Code Example link form to a button in dashbord visual c# Code Example
c# listview filter contains Code Example c# listview filter contains Code Example
getelement video Code Example getelement video Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8