private string EnumToString() { List <string> strings = new List <string>(); strings.Add(Account.ToString()); return(Account.ToString()); }
public override string ToString() { StringBuilder MT_Account = new StringBuilder(); MT_Account.AppendFormat("id = {0}", id) .AppendFormat(" | client_id = {0}", client_id) .AppendFormat(" | Login ={0}", Login) .AppendFormat(" | created_date = {0}", created_date) .AppendFormat(" | ftd_date = {0}", ftd_date) .AppendFormat(" | deposit_amount = {0}", deposit_amount) .AppendFormat(" | withdrawal_amount = {0}", withdrawal_amount) .AppendFormat(" | investor_pass = {0}", investor_pass) .AppendFormat(" | master_pass = {0}", master_pass) .AppendFormat(" | Group = {0}", Group.ToString()) .AppendFormat(" | Account_Type = {0}", Account_Type.ToString()); return(MT_Account.ToString()); }