Link to home
Start Free TrialLog in
Avatar of Camillia
CamilliaFlag for United States of America

asked on

Static class can't inherit from base?

I have a static class and I want it to inherit from a base class, it can't inherit from a base class??

I get "; expected"
static public class UserAction
 {
   public static void LogUserAction(string username) : base()
     {
         .........
      }

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Camillia

ASKER

i get an error with that too, so i will change to public class