Б1-55-83 (mavcan) wrote in code_wtf,
Б1-55-83
mavcan
code_wtf

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

    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#, форматирование автора.
Не связано с каким-либо легаси.
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 14 comments