MrBored
September 9th, 2003, 05:07 AM
Just wondering if any of you are familiar with RunUO ( the ultima online emu ) and C#, I'm trying to code a questing engine similair to the one in DAoC. I'm a C++ guy and I'm not entirely sure how C# handles arrays, so far I've found out you neet to declare an array like so:
public int[] MyArray;
But then how do you set the size, does it automatically resize like a vector performing a push_back() or what? I've tried assigning test values to each element and it hasn't crashed yet ;) Need some confirmation on this please.
public int[] MyArray;
But then how do you set the size, does it automatically resize like a vector performing a push_back() or what? I've tried assigning test values to each element and it hasn't crashed yet ;) Need some confirmation on this please.