Recent Posts
Calendar
November 2013
S M T W T F S
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930

Posts Tagged ‘as’

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 »