From: Daniel Lucraft Date: 2008-08-05T22:59:27+09:00 Subject: Re: Cool Projects Phlip wrote: > Daniel Lucraft wrote: >> Vala (live.gnome.org/Vala) is a C#-like language with automated memory >> management and collections like ArrayLists and HashMaps. Vala compiles >> into C so is pretty performant. > > Block closures? > > Someone needs to teach C# a lesson... No closures, but there are anonymous methods e.g: public void run () { // assigning anonymous method as signal handler this.foo += s => { stdout.printf ("Lambda expression %s!\n", name); }; // Calling lambda expression this.foo(); } best, Dan -- Posted via http://www.ruby-forum.com/.