проверка

    Date: 04/09/07 (Code WTF)    Keywords: no keywords

    Втф?

    string snumber1 = txtStampNumber1.Text.Trim();
    string snumber2 = txtStampNumber2.Text.Trim();

    if (!CheckStampRange(snumber1, snumber2))
    {
    //....
    }


    ////

    bool CheckStampRange(string snumber1, string snumber2)
    {
    //Далее соответственно в txtStampNumber1 в фунции не встречаеться :/

    if (txtStampNumber1.Text.Substring(0, 3) !=
    snumber2.Substring(0, 3))
    {}
    }

    Source: http://community.livejournal.com/code_wtf/79331.html

« Настоящих... || Внушает, да »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home