Больше кода для бога кода!

    Date: 12/29/14 (Code WTF)    Keywords: no keywords

        public class MyIdGuidPair
        {
            private Guid _id;
            public Guid Id
            {
                get { return _id; }
                set { _id = value; }
            }
            private DateTimeOffset _datetimevalue;
            public DateTimeOffset DatetimeValue
            {
                get { return _datetimevalue; }
                set { _datetimevalue = value; }
            }
            public void SetId(Guid id)
                    { _id = id; }
            public Guid GetId()
                    { return _id; }
    
            public void SetDatetimeValue(DateTimeOffset value)
            { _datetimevalue = value; }
            public DateTimeOffset GetDatetimeValue()
            { return _datetimevalue; }
        }
    


    C#, форматирование автора.
    Не связано с каким-либо легаси.

    Source: http://code-wtf.livejournal.com/220725.html

« Слегка... || javascript »


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