Hi My practice code
using System;
using System.Collections.Generic;
using System.Text;
namespace MyConApp
{
class Program
{
static void Main(string[] args)
{
string[] tmpString;
tmpString = args;
Console.WriteLine("Hello" + tmpString[0].ToString());
}
}
}
Why The expression below show compiling error message "does not contain a static 'Main' method suitable for an entry point"
namespace MyConApp
{
class Program
{
static void Main(string args)
{
string tmpString;
tmpString = args;
Console.WriteLine("Hello" + tmpString);
}
}
}
Thank you.