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")
Wie ruft man eine Funktion auf, die einen Lambda-Ausdruck übergibt? ⇐ C#
-
- Similar Topics
- Replies
- Views
- Last post