Author Topic: Indexers How do they work?  (Read 397 times)

Nick_W

  • Full Member
  • ***
  • Posts: 215
    • View Profile
Re: Indexers How do they work?
« on: November 02, 2016, 02:29:55 pm »
No, I'm trying to use mylist.InsertAt(0, myObject), to insert an object at the top of the list (as opposed to adding it to the bottom), but when I try to compile the program, I get an "Object reference not set to an instance of an object" compiler error. I can Add the same object, just not InstertAt.

I wrote my own InsertAt routing to work around this, (which works fine), but I figured it must be another bug. This is using mc-Studio 0.7-903.