Пример #1
0
 private string[] user_definition()
 {
     string[] tempS = null;
     if (people is Client)
     {
         Client temp = (Client)people; tempS = temp.For_table();
     }
     if (people is Seller)
     {
         Seller temp = (Seller)people; tempS = temp.For_table();
     }
     if (people is Moderator)
     {
         Moderator temp = (Moderator)people; tempS = temp.For_table();
     }
     if (people is Administrator)
     {
         Administrator temp = (Administrator)people; tempS = temp.For_table();
     }
     return(tempS);
 }