G
george r smith
I thought that you it is forbidden to create an instance of an interface.
But a help example (search for Explicit Interface Implementation Sample)
from visual studio has the following sample code:
// Declare an instance of the English units interface:
IEnglishDimensions eDimensions = (IEnglishDimensions) myBox;
// Declare an instance of the metric units interface:
IMetricDimensions mDimensions = (IMetricDimensions) myBox;
So is this a mistatement - will someone put into words what the above
statements are doing.
thanks
grs
But a help example (search for Explicit Interface Implementation Sample)
from visual studio has the following sample code:
// Declare an instance of the English units interface:
IEnglishDimensions eDimensions = (IEnglishDimensions) myBox;
// Declare an instance of the metric units interface:
IMetricDimensions mDimensions = (IMetricDimensions) myBox;
So is this a mistatement - will someone put into words what the above
statements are doing.
thanks
grs