Categories

Archives

XCode: The Starting Curly Brace

As I dive deeper into the world of programming for Apple hardware I bring along with me past practices or habits that I must change in order to fit into the Objective-C world. It has been years since I last touched C/C++ and coming from a world of .NET and C#, my first impressions [...]

C# and the readonly keyword

I came across something interesting today and thought I’d share this small bit of information to the world. While this made me scratch my head for a second or two it really does make sense. In C#, and I assume VB.NET as well, we have the keyword readonly which allows one to initialize a [...]

C# Gotcha or /Facepalm moment?

So I was playing around with a little idea and while putting together a simple class, very hastily I might add, I accidentally did something that caused a StackOverflowException to be thrown.

1 2 3 4 5 private Int32 someValue; public Int32 SomeValue { get { return SomeValue; } }

This is a very [...]

Use C# To Fill Out Web Forms

I figured I’d give out a quick tip that I had to recently do in C#. A friend had asked me how to automatically fill out a web form and submit it so that he could grab the html of the results page. Luckily, it is VERY simple in C# and I assume it [...]