Hello, I have a question regarding the way intellisense works with ref classes. I have a class like so:
public ref class Man abstract sealed
{
public:
public ref class Size
{
public:
static int Height;
static int Weight;
};
public ref class Name
{
public:
static String^ First_Name;
static String^ Last_Name;
static String^ Middle_Name;
};
public ref class Colour
{
public:
static Color^ SkinColour;
static Color^ EyesColour;
};
};
Now I created a new instance of Man called m. then I typed m-> but intellisense doesn't see the classes inside it, if I use them in my code it works, though. Also, if I write Man:: I see all of the classes inside. Why is this?
With Thanks,
Gal Beniamini.
public ref class Man abstract sealed
{
public:
public ref class Size
{
public:
static int Height;
static int Weight;
};
public ref class Name
{
public:
static String^ First_Name;
static String^ Last_Name;
static String^ Middle_Name;
};
public ref class Colour
{
public:
static Color^ SkinColour;
static Color^ EyesColour;
};
};
Now I created a new instance of Man called m. then I typed m-> but intellisense doesn't see the classes inside it, if I use them in my code it works, though. Also, if I write Man:: I see all of the classes inside. Why is this?
With Thanks,
Gal Beniamini.