I am not a big fan of dynamic type in C#, however there are certain situations in which it can be handy. Let's assume that we have following piece of code (which I encounter quite often at my work) public abstract class Weapon { //some properties } public class Gun : Weapon { //some properties } // more derived types var weaponService = new WeaponService(); IList
Strona głównaWindows
Windows 3581 dni, 20 godzin, 24 minuty temu 243 pokaż kod licznika zwiń