I do from template C# console application in Visual Studio 2012. After running an application,it crashes("Attempted to read or write protected memory. This is often an indication that other memory is corrupt" exeption ). This example of code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication4
{
class Program
{
static void Main(string[] args)
{
Console.ReadKey();
}
}
}
But if I try it without "string[] args" everything ok. What wrong?