C# 6.0 Auto-Property Initializers

0
Comments
C# 6.0 Auto-Property Initializers

The next new feature of the C# 6.0 is auto-property initializers and get-only auto property. The main problem that they suppose to solve is immutable type declaration. Before C# 6.0, if you want to create immutable type with properties, you have no possibility to use auto property: public string Property { get; set; } So, you were forced to use regular get-only (read-only) property with read-only backing field: private readonly string prop; public string Prop { get { return prop; } } public Ctor...

Read further...

DruMor. Спасибо что живой

0
Comments
DruMor. Спасибо что живой

Был первый день февраля 2010 года. Вечер. На улице осенняя погода, температура около нуля. В теплой "двушке", попивая горячий чай, скучали два молодых парня. От скуки и родился проект DruMor.  01-02-2010 Киндиров Начался наш youtube проект с песни о нашем знакомом. Слова - совместный продукт людей знающих Киндирова не по наслышке. Музыка - Моргота. Ролик был залит на youtube и вконтакте, где его заценили наши друзья. http://www.youtube.com/watch?v=g7IfJT7uoVQ&width=450 02-02-2010 Садок вишне...

Read further...