4

I currently have an abstract class such as

abstract class Users
{
    private List<string> SelectedUsers;

    public Users(List<string> SelectedUsers)
    {
        this.SelectedUsers = SelectedUsers;
    }
}

and a sub-class

class UsersTypeOne : Users
{
     //What do I put here in order to call the constructor in the abstract class
}
Uwe Keim
  • 39,551
  • 56
  • 175
  • 291

1 Answers1

0
class UsersTypeOne : Users
{
    public UsersTypeOne(List<string> SelectedUsers)
        : base(SelectedUsers)
    {

    }
}
user1018735
  • 218
  • 1
  • 6
  • Okay thank you so much for such a quick response – LukaszTheCoder Jul 22 '14 at 15:11
  • @LukaszTheCoder: Kindly accept the answer by clicking on the check mark on the upper-left corner of this answer once you are able to **if this answered your question**. This is how we say thanks here in Stack Overflow. :) – WGS Jul 22 '14 at 15:20