Daily Archives: September 28, 2006

When VB and C# collide…

I just accidentally wrote a line of code that looked like this:

private boolean MyMethod(byval x as someobject)

Yes I was going for VB, but I’ve been doing a bunch of C# coding lately. At least I didn’t hit the semi colon, too! 🙂

The funny part is I although C# doesn’t come very naturally to me, there are definitely some syntax things I love. Though I still have a really hard time getting my brain to grok code like Kate writes (though that’s pure C++…)