Re: delegates vs functions => practical consequences

2012-04-19 Thread Steven Schveighoffer
On Thu, 19 Apr 2012 09:04:47 -0400, Xan wrote: Thank you very much all of you for the information. Now I have an idea of practical benefits and contra-benefits of these. By the other hand, is there toFunction for passing delegate to function (theorically it's possible, isn't?) No. A del

Re: delegates vs functions => practical consequences

2012-04-19 Thread Xan
On Thursday, 19 April 2012 at 11:46:59 UTC, Steven Schveighoffer wrote: On Wed, 18 Apr 2012 17:07:07 -0400, Xan wrote: Hi, I want to know what is most interesting for me: delegates or functions. I consulted sources but none say the practical consequences of such election. What can I do a

Re: delegates vs functions => practical consequences

2012-04-19 Thread Steven Schveighoffer
On Wed, 18 Apr 2012 17:07:07 -0400, Xan wrote: Hi, I want to know what is most interesting for me: delegates or functions. I consulted sources but none say the practical consequences of such election. What can I do and what can't I do with functions and delegates? Please, be didactics, I

Re: delegates vs functions => practical consequences

2012-04-18 Thread H. S. Teoh
On Wed, Apr 18, 2012 at 11:07:07PM +0200, Xan wrote: > Hi, > > I want to know what is most interesting for me: delegates or > functions. I consulted sources but none say the practical > consequences of such election. > > What can I do and what can't I do with functions and delegates? > Please, be

Re: delegates vs functions => practical consequences

2012-04-18 Thread Ali Çehreli
On 04/18/2012 03:50 PM, Mirko Pilger wrote: >> I want to know what is most interesting for me: delegates or functions. >> I consulted sources but none say the practical consequences of such >> election. > > in addition to what john said: regarding _function literals_ the > difference is by using a

Re: delegates vs functions => practical consequences

2012-04-18 Thread Mirko Pilger
I want to know what is most interesting for me: delegates or functions. I consulted sources but none say the practical consequences of such election. in addition to what john said: regarding _function literals_ the difference is by using a delegate instead of a function you have access to the

Re: delegates vs functions => practical consequences

2012-04-18 Thread John Chapman
On Wednesday, 18 April 2012 at 21:07:08 UTC, Xan wrote: Hi, I want to know what is most interesting for me: delegates or functions. I consulted sources but none say the practical consequences of such election. What can I do and what can't I do with functions and delegates? Please, be didacti

delegates vs functions => practical consequences

2012-04-18 Thread Xan
Hi, I want to know what is most interesting for me: delegates or functions. I consulted sources but none say the practical consequences of such election. What can I do and what can't I do with functions and delegates? Please, be didactics, I'm a newbee Thanks, Xan.