can I call an action async c# code example
Example: can I call an action async c#
public async Task ExecuteAsync(Func func)
{
try
{
await func();
}
finally
{
}
}
public async Task ExecuteAsync(Func func)
{
try
{
await func();
}
finally
{
}
}