خرید بک لینک

Vote count: 0

Why the quick watch shows the statement p == "" as false, but we are going in the if statement.

    static void Main(string[] args)
    {
        string q = "";

        A(q);
    }

    static void A (object p)
    {
        if(p == null || p =="")
        {
            Console.WriteLine("Debugger shows false");
        }
    }

enter image description here

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 1 خرداد 1395 ساعت: 8:38

صفحه بندی