bal = await Task.Run(()=> GetBalanceAsync(uzer)); <--- better way to await to not cause deadlock?
if (bal == "Issue")
banklabel.Text = "$: " + Convert.ToDecimal(bal).ToString("#,##0.00");
@zzin - It depends on what happens inside GetBalanceAsync. Assuming it is has been written in what I would consider the standard way, try:
bal = await GetBalanceAsync(uzer);
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies