In my own time, I've been learning Objective-C for fun. I'm not sure why, perhaps I didn't feel I spent enough time in front of a computer. But I digress. One of the interesting things I've learned is that the following code works. Note that I assume
Read More...
Stupid mistakes are often the most painful. Take the following sample code. public class Sample { private int [] array = new int[32]; private int x = 0; public int Foo() { return array[x]; } public int X { get { return this.x; } set { #if DEBUG if (value
Read More...