Why create a new delegate object

What is the advantage of using

_books.RowChanged +=new DataRowChangeEventHandler(_books_RowChanged); 

which VS automatically inserts using

 _books.RowChanged += _books_RowChanged; 

which seems to me shorter and more efficient.

+4
source share
1 answer

There is no difference except that the second form is less detailed. They both do the same.

+10
source

All Articles