Object reference not set to an instance of an object [C#]

change
C#:
 public Remote(int iO, int iM)
{
object[,] m_obj = new object[iO, iM];
}
to
C#:
 public Remote(int iO, int iM)
{
m_obj = new object[iO, iM];
}
as you are re-declaring the array within the constructor at the moment.
 
Back
Top