Page 1 of 1

Correct way to overload +operator?

Posted: Wed Jul 13, 2022 7:56 pm
by answerhappygod
a) public sample operator + (sample a, sample b)
b) public abstract operator + (sample a,sample b)
c) public static sample operator + (sample a, sample b)
d) all of the mentioned