public CopyTo ( |
||
array | ||
index | int | |
Результат | void |
public void Constructor1_Deny_Unrestricted () { CodeCommentStatementCollection coll = new CodeCommentStatementCollection (array); coll.CopyTo (array, 0); Assert.AreEqual (1, coll.Add (ccs), "Add"); Assert.AreSame (ccs, coll[0], "this[int]"); coll.AddRange (array); coll.AddRange (coll); Assert.IsTrue (coll.Contains (ccs), "Contains"); Assert.AreEqual (0, coll.IndexOf (ccs), "IndexOf"); coll.Insert (0, ccs); coll.Remove (ccs); }