Answer to Question #239179 in C# for Gayatri

Question #239179

Create a Math Class which contains methods for addition, subtraction, multiplication and division.

Return type of addition and subtraction methods should be void and multiplication and division should return some values.

Task 1: create delegates and call the above functions and use multicast delegates usage

Task 2: using delegate reference call above any one of the method anonymously.

Task 3: remove all the functions addition, subtraction, multiplication and division and call all the methods using lambda expression.

Task 4:Create an dummy event in console based application and call it using a delegate and that delegate should point to one function .Demonstrat how event will call a delegate and how delegate will call a function .

Expert's answer
Dear Gayatri, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be the first!

Leave a comment

New on Blog