コード例 #1
0
 public virtual TestObject[] ToArray()
 {
     TestObject[] array = new TestObject[this._count];
     Array.Copy(this._array, array, this._count);
     return(array);
 }
コード例 #2
0
 public bool Contains(TestObject value)
 {
     return(IndexOf(value) >= 0);
 }
コード例 #3
0
 public virtual int IndexOf(TestObject value)
 {
     return(Array.IndexOf(this._array, value, 0, this._count));
 }
コード例 #4
0
 public virtual int BinarySearch(TestObject value)
 {
     return(Array.BinarySearch(this._array, 0, this._count, value));
 }