Hi Expert,
I am a beginner in visual c#, i have a problem while running this code string
the troubleshooter said that : use "new" keyword to create an object instance
Please help me what is wrong with my code
Regards,
I am a beginner in visual c#, i have a problem while running this code string
Code:
namespace sampleprocess
{
public partial class main : Form
{
public main()
{
InitializeComponent();
}
private string[] betPosCol;
private unsafe void setArrays()
{
betPosCol[1] = "Red";
betPosCol[2] = "Black";
betPosCol[3] = "Red";
betPosCol[4] = "Black";
betPosCol[5] = "Red";
}
}
}Please help me what is wrong with my code
Regards,