Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class  
Author Message
Schooch





PostPosted: Visual C# General, Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class Top

Newbie to C# I keep getting this error don't know where to go from here;

Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class




Visual C#16  
 
 
Mattias Sjogren





PostPosted: Visual C# General, Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class Top

You specify the base class in C# after a colon following the class name.

class YourClass : BaseClass

{

}