Archive for January 13th, 2009

AS is in CSharp too.

Many csharp programmers are surprised to find that csharp has an AS keyword that looks remarkably similar to VB.NET’s AS keyword.  And while on the surface it looks similar to what AS does in VB.NET, it is quite a bit different.

To start with, you can’t declare a variable with the AS keyword.  But you can assign to a variable using the AS keyword, like so:

Read the rest of this entry »

Bear