What would code look like for a single method that has 2 anonymous functions inside, which are both tasks that use Task.WhenAll so that they run in parallel but wait for both to finish before the method continues and returns?
pseudo code:
MethodX
{
Task () => {do work}
Task () => {do work}
Task.WhenAll()
}