public void AddException2() { Assert.Throws<ArgumentException>(() => { /* table already exist in the collection */ DataTableCollection tbcol = _dataset[0].Tables; tbcol.Add(_tables[0]); tbcol.Add(_tables[0]); }); }