How to use ? operator
I want to convert the following code to ? operator.. Is it Possible? if so, How?

    tbtotalamount.Text = string.Format("{0:n2}", dtl.Compute("sum(NetPay)", ""));
    if (tbtotalamount.Text.Length == 0)
    {
        tbtotalamount.Text = "0";
    }

Plz don't downvote as I don't know much about ? operator
How to use ? operator
===

I want to convert the following code to ? operator.. Is it Possible? if so, How?

    tbtotalamount.Text = string.Format("{0:n2}", dtl.Compute("sum(NetPay)", ""));
    if (tbtotalamount.Text.Length == 0)
    {
        tbtotalamount.Text = "0";
    }

Plz don't downvote as I don't know much about ? operator