0

How can I add two generics in C#?

Let's consider I have a functuon that takes two generic arguments T, add them and return sum as generic type T https://code.sololearn.com/c22b1HhJ6UYz/?ref=app

23rd May 2019, 4:36 PM
erythrocyte
2 odpowiedzi
+ 4
See the code in the following link. https://code.sololearn.com/cjXf0fP0Ww7I/#cs
23rd May 2019, 5:46 PM
r1c5
r1c5 - avatar