Delegate

  • A delegate holds address of one or more methods. In other words, a delegate object encapsulates a reference to a method.
  • Delegates are two types.
  1. Single cast delegate: If a delegate is holding one method address then it is called as Single cast delegate.
  2. Multi cast delegate: If a delegate is holding more than two method address then it is called as Multi cast delegate.

0 comments :

Post a Comment

> Related Posts with Thumbnails
 

Copyright © 2012. GS dot net - All Rights Reserved - Design by BTDesigner - Proudly powered by Blogger