In my code I change properties of items very often - almost 100 times in one void. These are the most common: checkBox.Enabled = true
and checkBox.Checked = true
.
I need my application to have a small file size, so I want to be able to type checkBox.E(t)
to total an 11 byte saving (minus the initial declaration of *.E
and bool t = true
.
Is there a way to shorten access to these properties like I have shown above?
This also means that checkBox.E()
would have return true
or false
as the property is actually set?
Thanks in advance!