anonymous methods in c++/CLI

  • Thread starter Thread starter bonk
  • Start date Start date
B

bonk

In c# 2.0 I can do:

myButton.Click += delegate(object sender, EventArgs e)
{
MessageBox.Show(((Button)sender).Text);
}

does c++/CLI allow to do the same thing ?
 
Anonymous methods exist in C# and C# alone (at least within the core .NET
languages).
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant J#: VB.NET to J# Converter
Clear VB: Cleans up outdated VB.NET code
 
Back
Top