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, } Code Code Also to access enum property I create next instance, Code Now my concern is how can I assign value to the following? Code I couldn't assign string value for e.g as "" Can anyone please help me? |
Loading

ketan borsdiyaRank #2,258 · 624 reputationPosted Aug 4, 2016, 11:22 PM EDT
Midhun TpRank #388 · 6.5K reputationPosted Aug 4, 2016, 11:21 PM EDT