What is the difference between the two method definitions, one with get
one without? I understand that properties can have get
and set
keywords, but what about in normal methods like below?
public bool IsEmpty
{
get { return _end == _start; }
}
public bool IsEmpty ()
{
return _end == _start;
}