Failing finding an answer I can understand, could someone explain the difference between the following:
// One
private Guid mCategoryID;
public Guid CategoryID
{
get
{
return mCategoryID;
}
set
{
mCategoryID = value;
}
}
// Two
public Guid CategoryID {get; set;}
Is the get/set
code in the section above: One
doing the same as Two
or do they work differently?
Jerry