VB.NET 10 : Automatic Property

VB.NET 10 : Automatic Property

  • Comments 6

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!!!

 

Leave a Comment
  • Please add 5 and 7 and type the answer here:
  • Post
  • PingBack from http://asp-net-hosting.simplynetdev.com/vbnet-10-automatic-property/

  • Thanks for sharing information regarding vb.net10.

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

  • <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!

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

  • 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>

Page 1 of 1 (6 items)