S
Stephen
Hi,
Please do tell me why i cant have a protected access modifier in a struct?
i get this error
namespace StructExample
{
class Tester
{
static void Main(string[] args)
{
//instance of struct
}
}
internal struct Location
{
protected Location(int xCoordinate, int yCoordinate, int StatusValue)
{
//initialization
}
}
}
"StructExample.Location.Location(int, int, int)' : new protected member
declared in struct" -- Error Message
Thanks,
Stephen
Please do tell me why i cant have a protected access modifier in a struct?
i get this error
namespace StructExample
{
class Tester
{
static void Main(string[] args)
{
//instance of struct
}
}
internal struct Location
{
protected Location(int xCoordinate, int yCoordinate, int StatusValue)
{
//initialization
}
}
}
"StructExample.Location.Location(int, int, int)' : new protected member
declared in struct" -- Error Message
Thanks,
Stephen