Quick question about arrays and MonoDevelop

I made a boolean array (using C#) in my game manager class, but when I write code to access it, “.Length” doesn’t appear in the MonoDevelop drop-down list of code options.

I can actually use “.Length” just fine - it returns the correct value every time. But I was wondering, why doesn’t it appear as an option?

It’s not a big deal, I’m just curious as to what the reason might be, since “.Length” does appear for other arrays in the class.

Please give your question a descriptive name. This doesn't sound like it has anything to do with arrays, to me, but rather, MonoDevelop. Try Xamarin Studio and see if it yields the same result.

You could try locating all of your .pidb files and deleting them while MonoDevelop is closed.

1 Answer

1

Thing like that, I had too, locate in a menu Project → Assembly options → Build → general and select target framework to .net 3.5/mono

Thanks for the tip. I checked my build settings and MonoDevelop is targeting .net 3.5/mono. I tried switching it to .net 4.0/mono, but saw no change...