0
Hello guys, I have a problem, I don't understand the answer for the 3rd code project to the "c# intermediate" so anyone help me?
7 Respostas
+ 4
Rodion ,
Note that If you're having trouble in code, share your code and describe what error message you're receiving. without watching no one can figure out what's going wrong.
quick quide..
You can got return by adding the following line of code at the end of your program:
public static DancerPoints operator+ (DancerPoints a, DancerPoints b)
{
string name = a.name + " & " + b.name ;
int points = a.points + b.points;
DancerPoints res = new DancerPoints (name, points) ;
return res;
}
+ 2
Share your attempt
+ 2
Okay I will doing it, very very very thanks for that!
Darpan Kesharwani!
+ 1
Okay, thanks for that
0
This is the code project to medium level of c# course
0
here you need to overload the + operator, and return a new object total, but I constantly get an error