VB.NET 10 : Automatic Property

Now in VB.NET 10 we have automatic property,

Public Property myName As String = "Test"

Sub Main()

        Console.WriteLine(myName)

End Sub

In ildasm it shows like,

image

Namoskar!!!

Comments

  • Anonymous
    June 01, 2009
    PingBack from http://asp-net-hosting.simplynetdev.com/vbnet-10-automatic-property/

  • Anonymous
    September 18, 2009
    Thanks for sharing information regarding vb.net10.

  • Anonymous
    May 03, 2010
    You should match the .Net framework's naming conventions - use a capital letter at the start of all properties.

  • Anonymous
    May 23, 2011
    <a href="http://www.solidhomedubai.com">Dubai Properties</a> I just wanted to add a comment here to mention thanks for you very nice ideas. Blogs are troublesome to run and time consuming thus I appreciate when I see well written material. Your time isn’t going to waste with your posts. Thanks so much and stick with it No doubt you will definitely reach your goals! have a great day!

  • Anonymous
    June 10, 2011
    Thanks for taking this opportunity to discuss this, I feel fervently about this and I like learning about this subject.

  • Anonymous
    January 08, 2012
    This is very amazing blog and information provided by the article of this blog is really nice and useful and i would like to visit the blog again.<a href=”http://loopbyte.com/ “title=”Hosting India”>Hosting India</a>