Рихтер и его Applied .Net Framework Programming

    Date: 12/05/05 (Code WTF)    Keywords: no keywords

    [Flags]
    public enum Accounts {
    Savings = 0x0001,
    Checking = 0x0002,
    Brokerage = 0x0004
    }

    // Definition of a class with Accounts accounts member skiped.

    // Check if two class objects match:
    if ((other.accounts & accounts) != accounts) return false;

    Source: http://www.livejournal.com/community/code_wtf/20130.html

« Я фигею || MS VBScript в сети... »


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