•Created by samisaskinnyqueen on 8/14/2023 in #help
✅ General Help
namespace ConsoleApp1
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("The Main function was called");
Console.ForegroundColor = ConsoleColor.Blue;
Console.BackgroundColor = ConsoleColor.White;
Console.Clear();
Console.ReadLine();
}
}
}
namespace ConsoleApp1
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("The Main function was called");
Console.ForegroundColor = ConsoleColor.Blue;
Console.BackgroundColor = ConsoleColor.White;
Console.Clear();
Console.ReadLine();
}
}
}
Why does the Main function get called when I create it? And also, why aren't the colors in the console changing? ( I am new so please try to explain to the best of your ability)