I know this is a sensitive subject, but since I was raised as a kid on Basic, getting into VB seems a bit easier to me. But then I came across this code, and it seems that c# requires a lot less typing and work...is this true? Please let me know what you think...which would be better to learn, and is there any easier way to rewrite the c# code below, besides the way I rewrote it.
namespace DomainModel.Enteties
{
public class Product
{
public int ProductID { get; set; }
public string Name { get; set; }
public decimal Price {get; set; }
}
} Public Property ProductID() As Integer
Get
Return _ProductID
End Get
Set(ByVal value As Integer)
_ProductID = value
End Set
End Property
Private _Name As String
Public Property Name() As String
Get
...
Go to the complete details ...