What's New in Visual Basic 2010: Listing 2

Auto-Implemented Properties

Visual Basic 2010 C# 2008 and C# 2010 Visual Basic 2008
Public Property VB10Auto As String = "a"
public string CSharpAuto { get; set; }
Private _VB9Propery As String
Public Property VB9Property() As String
    Return _VB9Propery
  End Get
  Set(ByVal value As String)
    _VB9Propery = value
  End Set
End Property
comments powered by Disqus


.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events