Csharp (Page 3)

Debug enemy's code Read in English

I had several episodes in my .net development career when I wanted to debug foreign code. The code, I have no sources access to, DLL only. Visual Studio can debug code without sources.

This article is based on the StackOverflow question where I tried to explain Unity behavior.

Read more...

Varieties of properties Read in English

Property is a flexible mechanism to access private fields (set and get value) and implement computations. Now we have different ways for implementing properties — from classic with backing field and get-set keywords to modern lambda-style. Let's find is there any difference between all these properties.

This article is based on StackOverflow question

Read more...

Who can foreach Read in English

This post is about the popular question "What collection can be used in foreach statement?" If you think that correct answer is IEnumerable, read this post :)

Read more...

Null or NotNull Read in English

This topic is related to this question on StackOverflow. Let's discover, what are CanBeNull or NotNull attributes? How do they work?

Read more...

IndexOf with IEquatable Read in English

This topic started from question on StackOverflow: different collections (Array and List) have different implementation of IList.IndexOf method.

Read more...

Patterns: Retry vs Circuit Breaker Read in English

Today I want to tell you about two interesting patterns: Retry and Circuit Breaker. They look the same at first sight, but they are used for solving different problems.

Read more...

Паттерны: Retry vs Circuit Breaker Читать на русском

Сегодня хочется рассказать про два интересных паттерна: Retry и Circuit Breaker. На первый взгляд они очень похожи, но используются для решения совершенно разных проблем.

Read more...