I have created a property like below and the default value specified is not working.
[DefaultValue(100)]
public int MyProperty
{
get;
set;
}
but the property doesn't returns the specified default value, instead it returns 'O'
Could anyone please clarify me?
Regards,