View difference between Paste ID: BFBjWX6p and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | public static clientePlus operator +(clientePlus uno, clientePlus otro) |
2 | { | |
3 | clientePlus aux = new clientePlus(); | |
4 | //validas q los obj uno y otro no sean nulls | |
5 | aux.attr1 = uno.attr1 + otro.attr1 | |
6 | // Seguis con todos los atributos | |
7 | return aux; | |
8 | } |