Answers for "clear C#"

C#
1

c# clear an array

using System;
Array.Clear(arrayToClear, 0, arrayToClear.Length);
Posted by: Guest on August-26-2020
0

c# console clear

using System;
using System.Collections.Generic;

class Program {
   static void Main() {
      ConsoleColor foreColor = Console.ForegroundColor;
      ConsoleColor backColor = Console.BackgroundColor;
      Console.WriteLine("Clearing the screen!");
      Console.Clear();
      ConsoleColor newForeColor = ConsoleColor.Blue;
      ConsoleColor newBackColor = ConsoleColor.Yellow;
   }
}
Posted by: Guest on October-26-2020

C# Answers by Framework

Browse Popular Code Answers by Language