Func<> delegate

TheCommunicator
TheCommunicator used Ask the Experts™
on
Hi ,

I am reading this book and they are explaining the idea of Func<> delegates and while trying to understand it, I came aross this line of code which I am not able to understand:

func<double,double>[]

Open in new window


Normally they said that Func delegates are theone with return types and we specify returntypes with following code:

func<double, Out Double>

Open in new window


Did yo unotice the Out variable there?

and what's with the [] in the end?

can somebodu please explain?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
Well, That explains the absence of out keyword in the last but what's up with [] in the last? I am still not able ti understand that..
Commented:
[] is noted for an array
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Author

Commented:
Thank you so much these were all a great comments.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial