Добавлено: 14 сентября 2023 г.
Interfaces are at the heart of the “composition-over-inheritance” paradigm — let’s see what that means!
As you probably know, C# is a statically typed language. And as such, it is very helpful with type-checking and safe data conversions. Your IDE most likely knows when you’re feeding a variable of the wrong type somewhere and warns you, or even refuses to compile. However, you can actually take this flow checking one step...
далее...