Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

MULTICAST DELEGATES IN C#.NET WITH REAL TIME EXAMPLE

Answer Posted / guest

delegates used to invoke one function. Multicasst delegate
is used to invoke mmore than one function
Say for example
This is our delegate
delegate void myDelegate (string s);

Weh ve two functions like
publc void sayHello(String Name)
{
//implementation goes here
}
public void sayHai(String Name)
{
//implementation goes here
}

If we want to invoke both of these functions
use like


myDelegate md= new myDelegate(sayHello);
md+=new myDelegate(sayHai);

Is This Answer Correct ?    33 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you manage sql azure security?

101


What are the limitations in ssrs on sql server express edition?

175


How do I edit a stored procedure in sql server?

882


What are the types of table?

919


List out what other servers you can use with ssrs?

130


What is a derived table?

871


What is the partitioning method?

973


In what version of sql server were synonyms released?

905


Explain system scalar functions?

952


How can change procedure in sql server?

986


can an order by clause be used in a creation of a view?

1100


How do I edit a procedure in sql server?

898


What are different types of replication in sql server?

1031


What is the default fill factor value?

1011


Why I am getting "the microsoft .net framework 2.0 in not installed" message?

914