示例#1
0
 /// <summary>
 /// Creates an <see cref="Enumerator"/> for the rank 2 array wrapped in the <see cref="ReadOnlyArrayR2{T}"/> argument.
 /// </summary>
 public Enumerator(ReadOnlyArrayR2 <T> array) : this(array.Array)
 {
 }
示例#2
0
 /// <summary>
 /// Indicates whether this and another instance are considered equivalent.
 /// </summary><returns>
 /// True if both instances share the same backing array, or if both backing arrays are absent; otherwise false.
 /// </returns>
 /// <param name="other">Another instance to compare against.</param>
 public bool Equals(ReadOnlyArrayR2 <T> other)
 {
     return(object.ReferenceEquals(this.array, other.array));
 }