class Bar
{
private byte[] dg;
Bar(byte[] datagram)
{
dg = datagram;
}
int Foo
{
get { return BitConverter.ToInt16(dg, 8); }
}
}
When are properties evaluated? At the time of access to Foo? A debugger that evaluates all the properties scares me.
yummy
source
share