I have a class with a property which is an enum
The enum is
///
/// All available delivery actions
///
public enum E
Best practice (as advised by Code Analysis) is to always have a default value in your enums, which represent an unset value.
So in your case, you might have:
public enum EnumDeliveryAction
{
///
/// Default value
///
NotSet,
///
/// Tasks with email delivery action will be emailed
///
Email,
///
/// Tasks with SharePoint delivery action
///
SharePoint
}
As an aside, you shouldn't prefix the name of the enum with Enum. You might consider changing to:
public enum DeliveryAction;