Archives

Archives / 2003 / February
  • Future Features of .NET

    If you want to know what the future of .NET wil bring us (language-wise I mean), you should take a look at this site. The new thing called Generics, is described here. There is one topic that made me smile a little bit: Partial Types. With Partial Types your class source code can be stored in 2 different files.

  • Variable declaration inside of loops (VB.NET 2003)

    A nice language improvement in VB.NET 2003, is that you can declare variables inside a loop. For example, if I wanted to construct a For Each loop in VB.NET 2002 I would have to do it like this:
    Dim item As Customer
    For Each item In CustomerCollection
        ' Do Stuff
    Next