I am very new to C#. Just started learning about OOP and classes.
I encountered this class in something I read:
public class Thissser
{
public string whatever;
public Thissser(string whatever)
{
this.whatever = whatever;
}
}
All that is written in the constructor is this.whatever = whatever;
.
What is the point of this and why do you need it?