Из MSDN

    Date: 08/23/06 (Code WTF)    Keywords: html, web

    Про StaticSiteMapProvider примерчик
    ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref12/html/T_System_Web_StaticSiteMapProvider.htm

     
    public override SiteMapNode RootNode 
    {
        get 
        {
            SiteMapNode temp = null;
            temp = BuildSiteMap();
            return temp;
        }        
    }
    


    В чем сокровенный смысл? Почему бы не написать
    get
    {
        return BuildSiteMap();
    }
    


    неясно...

    Source: http://community.livejournal.com/code_wtf/49741.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