Wie ruft man eine Funktion auf, die einen Lambda-Ausdruck übergibt?
Posted: 22 Dec 2024, 16:37
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")