So I am stuck with fixing/maintaining another programmers code (blech)
I am a firm professor of the rule "If it ain't broke dont fix it!" so depsite wanting to change something every time I come across horrendous code, I am keeping myself limited to only changing the absolute minimum amount of code possible to make the required fixes. But in some cases I really need to understand something before trying to follow it/change it.
I came across this little bit here:
region.LineSelected = (x) => { };
And am wondering if it's the same as this:
region.LineSelected = null;
I want to be 100% positive of what the first line is doing before I go changing the method it's in.