我正遇到此错误。无法启动。由于配置不正确,应用程序无法启动程序。
代码如下
class Program
{
static void Main(string[] args)
{
string[] Words = new string[3];
Words[0]= "Abba";
Words[1] = "Dhappa";
Words[3] = "Shavva";
string a;
Console.WriteLine("Please enter to get your desired string");
a = Console.ReadLine();
if (string.Equals(Words, a))
{
Console.WriteLine("Equals");
}
}