Why would the below simple declaration/initialization give me three errors in VS 2010 (C#)? I tried this in Visual Studio 2008 and it worked perfectly? Could this be a bug in Visual Studio 2010 Beta 2?
string[] strMyArray;
strMyArray = new string[10];
namespace Hour1
{
public partial class viewerForm : Form
{
const bool c_defPromptOnExit = false;
string[] strMyArray;
strMyArray = new string[10];