11,571 questions
Run await inside constructor
Jassim Al Rahma
1,616
Reputation points
Hi,
How can I have an await inside a constructor? I want to have the following:
await Task.WhenAny<bool>
(
StackLayoutSignin.TranslateTo(0, 0, 500),
StackLayoutSignin.FadeTo(1, 1000)
);
Thanks,
Jassim
Developer technologies | C#
Sign in to answer