Anyone? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Anyone?

help

24th Oct 2017, 7:23 PM
Ibrahim Ali Bello
Ibrahim Ali Bello - avatar
5 Answers
+ 5
I think the question is missing ... can you tell us what you need ?
24th Oct 2017, 7:26 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 4
A method is like a function but that modify the object it is called with. Lets say we have a RED car in a variable c. If we do : c.setColor(BLUE); The car in c become blue. If we do : Car c2(RED); c2.setColor(GREEN); c getColor(); The last line returns BLUE as we set the green color on another car, not on the first one
26th Oct 2017, 6:00 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
0
I don't understand methods in c#
25th Oct 2017, 4:33 PM
Ibrahim Ali Bello
Ibrahim Ali Bello - avatar
0
teach me methods in c#. its somehow complicated. I mean methods in general
25th Oct 2017, 9:24 PM
Ibrahim Ali Bello
Ibrahim Ali Bello - avatar
0
@baptiste. thanks a lot!!!!. can you be my friend?
27th Oct 2017, 8:08 PM
Ibrahim Ali Bello
Ibrahim Ali Bello - avatar