Click here to Skip to main content
15,899,474 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reflection with args.Lenght =0 Pin
Super Lloyd20-Jan-13 12:38
Super Lloyd20-Jan-13 12:38 
GeneralRe: Reflection with args.Lenght =0 Pin
PozzaVecia20-Jan-13 12:50
PozzaVecia20-Jan-13 12:50 
AnswerRe: Reflection with args.Lenght =0 Pin
FatCatProgrammer20-Jan-13 12:56
FatCatProgrammer20-Jan-13 12:56 
GeneralRe: Reflection with args.Lenght =0 Pin
PozzaVecia20-Jan-13 18:44
PozzaVecia20-Jan-13 18:44 
AnswerRe: Reflection with args.Lenght =0 Pin
PIEBALDconsult20-Jan-13 14:07
mvePIEBALDconsult20-Jan-13 14:07 
GeneralRe: Reflection with args.Lenght =0 Pin
PozzaVecia20-Jan-13 18:42
PozzaVecia20-Jan-13 18:42 
GeneralRe: Reflection with args.Lenght =0 Pin
PIEBALDconsult21-Jan-13 4:47
mvePIEBALDconsult21-Jan-13 4:47 
AnswerRe: Reflection with args.Lenght =0 Pin
Alan N20-Jan-13 22:37
Alan N20-Jan-13 22:37 
QuestionNeed some guide line for few tools which is used for dotnet. Pin
Tridip Bhattacharjee20-Jan-13 8:59
professionalTridip Bhattacharjee20-Jan-13 8:59 
AnswerRe: Need some guide line for few tools which is used for dotnet. Pin
Super Lloyd20-Jan-13 12:40
Super Lloyd20-Jan-13 12:40 
Questionconnect to usb modem Pin
hafez20-Jan-13 0:36
hafez20-Jan-13 0:36 
AnswerRe: connect to usb modem Pin
Andy41121-Jan-13 3:40
Andy41121-Jan-13 3:40 
AnswerRe: connect to usb modem Pin
Cl.Kurtz8-Feb-13 15:24
Cl.Kurtz8-Feb-13 15:24 
QuestionWho can help me to solve this problem ? Pin
905607625@qq.com19-Jan-13 15:32
905607625@qq.com19-Jan-13 15:32 
AnswerRe: Who can help me to solve this problem ? Pin
Dave Kreskowiak19-Jan-13 15:34
mveDave Kreskowiak19-Jan-13 15:34 
GeneralRe: Who can help me to solve this problem ? Pin
905607625@qq.com19-Jan-13 15:40
905607625@qq.com19-Jan-13 15:40 
GeneralRe: Who can help me to solve this problem ? Pin
Dave Kreskowiak19-Jan-13 15:47
mveDave Kreskowiak19-Jan-13 15:47 
GeneralRe: Who can help me to solve this problem ? Pin
Richard MacCutchan19-Jan-13 21:34
mveRichard MacCutchan19-Jan-13 21:34 
GeneralRe: Who can help me to solve this problem ? Pin
BobJanova21-Jan-13 5:47
BobJanova21-Jan-13 5:47 
AnswerRe: Who can help me to solve this problem ? Pin
Eddy Vluggen20-Jan-13 2:24
professionalEddy Vluggen20-Jan-13 2:24 
GeneralRe: Who can help me to solve this problem ? Pin
Dave Kreskowiak20-Jan-13 6:12
mveDave Kreskowiak20-Jan-13 6:12 
Questioncollections generic with wcf Pin
yonim12319-Jan-13 12:33
yonim12319-Jan-13 12:33 
AnswerRe: collections generic with wcf Pin
SledgeHammer0119-Jan-13 13:03
SledgeHammer0119-Jan-13 13:03 
GeneralRe: collections generic with wcf Pin
yonim12319-Jan-13 13:20
yonim12319-Jan-13 13:20 
C#
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace BE
{
    [DataContract]
    public class BusinessAccount : Account
    {
        private string companyNumber;
        private string companyName;
        private List<string> authorizedSignatory = new List<string>();

        public BusinessAccount() { }

        public BusinessAccount(long number, int branchNumber, DateTime openingAccountDate, string password, int credit, int balance, 
                                AccountStatus status, AccountType account_Type, string companyNumber, string companyName, List<string> authorizedSignatory) 
                                : base(number,branchNumber,openingAccountDate,password,credit,balance,status,account_Type)
        {
            this.companyNumber = companyNumber;
            this.companyName = companyName;
            this.AuthorizedSignatory = authorizedSignatory;
        }

        [DataMember]
        public string CompanyNumber
        {
            get { return companyNumber; }
            set { companyNumber = value; }
        }

        [DataMember]
        public string CompanyName 
        {
            get { return companyName; }
            set { companyName = value; }
        }

        [DataMember]
        public List<string> AuthorizedSignatory
        {
            get { return authorizedSignatory; }
            set 
            {
                foreach (var item in value)
                    authorizedSignatory.Add(item);
            }
        }
    }
}

QuestionCannot Access the form _ Cross-thread operation Pin
mohammadkaab19-Jan-13 9:50
mohammadkaab19-Jan-13 9:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.