Here it is my code public partial class VerifyAccountType { private BacsCodeType bacsCodeField; public BacsCodeType bacsCode { get { return this.bacsCodeField; } set { this.bacsCodeField = value; } } } public partial class BacsCodeType { private BACScode codeField; private BACSdescription valueField; public BACScode code { get { return this.codeField; } set { this.codeField = value; } } public BACSdescription Value { get { return this.valueField; } set { this.valueField = value; } } } public enum BACScode { B, Item2, Item5, } public enum BACSdescription { Accountclosed, Accountholderdeceased, Accountdoesnotexist, }
Also to access enum property I create next instance, Now my concern is how can I assign value to the following? I couldn't assign string value for e.g as "" Can anyone please help me? |
Loading
ketan borsdiyaPosted Aug 5, 2016, 3:22 AM
Midhun TpPosted Aug 5, 2016, 3:21 AM