Wie ruft man eine Funktion auf, die einen Lambda-Ausdruck übergibt?
Posted: 23 Dec 2024, 13:36
Wenn ich so etwas hätte:
public void add(func
val)
{
textval = val; // val should be hello
}
Und ich möchte diese Funktion aufrufen
add((val) => "hello")
public void add(func
val)
{
textval = val; // val should be hello
}
Und ich möchte diese Funktion aufrufen
add((val) => "hello")