Why C# append get on property in class written in VB.net?

If we make any class in VB.NET and try to access its property in C# by making object of that class. get_ is appended in the property. Can any one please explain the reason.


Oh it may be because the whole:

  • get{}
  • set{}

business actually translates into the equivalent of:

  • get_PropertyName
  • set_PropertyName

In the IL code. The whole property stuff we write (in either VB or C#) is just syntactic sugar.

Need Your Help

How to put text over an image without absolute positioning or setting the image as backbround

html css css-float css-position hotmail

I'm trying to see if it is possible to put some text over an image without using position: absolute or having the image being, the background of an element.

View holder warning after creating list view

java android android-listview android-adapter android-listfragment

After creating a list view and assigning the text of each item with a different colour, inflater.inflate(R.layout.list_item, parent, false) within View rowView = inflater.inflate(R.layout.list_item,