IN VB.NET you can change the name of this variable. Can you do this in C# too or is it always called value?
Example:
Private _SomeVariable As String
Public Property SomeValue() As String
Get
Return _SomeVariable
End Get
Set(ByVal foo As String) ' This is what I mean
_SomeVariable = foo
End Set
End Property
I'm used to write code in VB.NET, but want to change to C# eventually and trying to learn all the differences and peculiarities of C#.
I know this is no big deal, but Telerik for example isn't aware of it while converting VB.NET to C#, which could lead to a missbehaviour in case you have a class variable named foo too (for the above-mentioned example).