Wednesday, 1 August 2012

Wow, it has truly been a while since I updated this blog... Oh wait I've never said anything to this blog... Guess it about time I start.

Why VB to C#?

Truth is I always preferred C#, but was forced to continue with VB by the incompetency that some lecturers have at the Durban University of Technology. But since I'm no longer under their shadow guess I can say I'm a free bird. It's time for me to take the wonderful advantages of C#, I mean who wants to say:

Private FirstName as string
Private IDNumber as string

public property _firstname() as string
  Get
     Return FirstName
  EndGet
  Set
    FirstName = value
  EndSet
EndProperty

public property _IDNumber() as string
  Get
     Return IDNumber
  EndGet
  Set
    IDNumber= value
  EndSet
EndProperty

When you can say:

public String FirstName {Get; Set;}
public String IDNumber{Get; Set;}

Not me, Yah neh 4 Years of VB, I have to be fed up by now, but I guess it was a start...