J
J
I tried to inherit 'Shot' class from 'Image' class, only to fail.
It gives me the CS0122 error, which says that it can't access
'System.Drawing.Image.Image()'.
What am I missing?
using System;
namespace Vol
{
public class Shot : System.Drawing.Image
{
public Shot() // CS0122 - can't access System.Drawing.Image.Image()
{
}
}
}
It gives me the CS0122 error, which says that it can't access
'System.Drawing.Image.Image()'.
What am I missing?
using System;
namespace Vol
{
public class Shot : System.Drawing.Image
{
public Shot() // CS0122 - can't access System.Drawing.Image.Image()
{
}
}
}