LudoFromHere
New member
- Joined
- Dec 21, 2022
- Messages
- 3
- Programming Experience
- Beginner
I'm a noob and I'm wondering, what is the difference between :
And :
Thanks in advance.
C#:
public Vehicle(string name, string color, int quantity)
{
this.name = name;
this.color = color;
this.quantity = quantity;
}
And :
C#:
public Vehicle(string name, string color, int quantity)
{
name = name;
color = color;
quantity = quantity;
}
Last edited by a moderator: