Hi all,
I'm trying to extend the Image class, but my constructor keep causing the following error:
error CS0122: 'System.Drawing.Image.Image()' is inaccessible due to its protection level
I'm assuming it's something to do with Image being abstract or not having a public constructor.
Here's what I'm doing:
using System.Drawing;
public class test : Image
{
public test()
{
}
}
Any help would be great!
Best Regards,
Robin.
I'm trying to extend the Image class, but my constructor keep causing the following error:
error CS0122: 'System.Drawing.Image.Image()' is inaccessible due to its protection level
I'm assuming it's something to do with Image being abstract or not having a public constructor.
Here's what I'm doing:
using System.Drawing;
public class test : Image
{
public test()
{
}
}
Any help would be great!
Best Regards,
Robin.