I just spent the better part of an hour figuring out why my code was failing and so I hope there is some lesson here for me.
Does anyone know of any reason why I can't instantiate a SortedList in Initialize() or OnStartUp()?
SortedList<int, myClass> mySortedList = new SortedList<int, myClass>() leaves me with a null mySortedList if I put the code anywhere except with the actual variable declaration.
Is it used somehow/somewhere prior to Initialize()?
Best Regards,
Scott
Comment