dotnetomaniak.pl

Strona głównaSztuka programowania

Many people neglect C# delegates because they cannot find a reason to use them. On the other hand, there is (rather small) group of people who overuse delegates in code that could be easily replaced by literal method call. So when should we use delegates? Well, they show their real power in situations when we need a mechanism to easily switch from one logic to another, without changing our application’s core code. Sounds ok but what does it mean in a real life? It’s time for a fairy tale 😊. Imagine...

Dziel się z innymi:
C# Delegates – a fairy tale about when (and how) to use them – A Girl Among Geeks

Sztuka programowania 83 dni, 12 godzin, 54 minuty temu AGirlAmongGeeks 113 pokaż kod licznika zwiń

Wczytywanie artykułów...
Szkolenia SecurITum

maj

26.

wrzesień

21.
Dev#
Gdańsk, Stary Maneż
Dodaj nowe Zobacz wszystkie

Najaktywniejsi

1

Paweł Łukasik (32 867,57)

2

macko (32 816,53)

3

pzielinski (27 178,29)

4

gordon_shumway (21 178,88)

5

paduda (20 336,33)

6

psz750 (13 018,14)

7

rroszczyk (10 391,47)

8

Damian (9 535,25)

9

danielplawgo (7 371,05)

10

arek (6 807,95)

11

burczu (6 214,22)

12

PaSkol (5 393,84)

13

lukaszgasior (4 097,38)

14

jj09 (3 818,06)

15

dpawlukiewicz (3 632,16)

16

spetz (3 418,34)

17

AdrianBystrek (3 345,84)

18

jedmac (3 318,39)

19

http://jakub-flor... (3 224,66)

20

CaMeL (2 954,87)