Okay, I tried to research this, I tried to read Bechir's article about generic collection types, http://www.c-sharpcorner.com/UploadFile/yougerthen/105032008145435PM/1.aspx but I think it is beyond my current skill level with C#.
I have a class called StepClass and I want to reference it in another class as an array (or collection?). I can define all the methods for StepClass for "count" and "add" etc, but a friend at work mentioned that I should use System.Collections.Generic to do this, but the examples I've seen are a little confusing. Would someone be able to give a simple prototype how I would do that?
so instead of
private StepClass[] Steps;
what would I use? I was hoping there would be something that would allow me to reference my own methods within StepClass with Steps[i].method or similar. Hope I'm explaining this ok.