Thanks for the advice. I have declared my array and set initial values
public? RootButtons[] _buttons = new RootButtons[16];
? ?public void Initialize()
? ? ? ? {
? ? ? ? ? ? try
? ? ? ? ? ? {?
? ? ? ? ? ? ? ? for (int i = 0; i < 16; i++)
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? _buttons[i] = new RootButtons
? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? BUTTON_FB = 0
? ? ? ? ? ? ? ? ? ? };
? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? CrestronConsole.PrintLine("Initializing and StudioID received from SIMPL+ is {0} and Internal Value is {1}", MYSTUDIOID, MyStudioID);
? ? ? ? ? ? }
? ? ? ? ? ? catch (Exception e)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? CrestronConsole.PrintLine("Error Initializing module ---- {0}", e.Message);
? ? ? ? ? ? }
? ? ? ? }