Looking at the new VB 2010 features, I stumbled upon support for Auto-Implemented Properties.
Since I'm working with C#, this seemed quite familiar, but I noticed that VB did add a feature I would love to have in C#: setting an arbitrary default value for the auto-implemented property:
Public Class Person
Property Name As String = "Scott Guthrie"
Property Age as Integer = 35
End Class
I really like the clean usage of auto-properties in C#. This would save us the effort of introducing a backing field and hooking it up to the property every time we simply need a default value, thereby cluttering up the code unnecessarily.
I was wondering why this wasn't introduced in C# as well? What could be the rationale for not doing this? Is a syntax discussion going on, or are there technical limitations to implementing this?