POV-Ray : Newsgroups : povray.off-topic : C# 4.0 Default parameters : Re: C# 4.0 Default parameters Server Time
9 Oct 2024 18:17:16 EDT (-0400)
  Re: C# 4.0 Default parameters  
From: Mike Raiford
Date: 4 Feb 2009 12:47:06
Message: <4989d49a$1@news.povray.org>
Darren New wrote:

> xyz += foofoo;
> 
> Then when you call
> xyz(71.3);
> it passes 71.3 to doodoo then to foofoo.
> 
> Less helpful if you actually need the results, but often delegates are 
> used as things like callbacks for user interface frobbings or other 
> async events, so failures tend to be propagated back as exceptions 
> rather than return results.

What is the difference between a multicast delegate, as shown here, and 
an event?

Love the function names, btw..



-- 
~Mike


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.