C
C.E.O. Gargantua
I want to have a member property that is common to a set of classes.
I designed an abstract class, but when I try to add it to the abstract
class, it flags an error in VS.NET.
The design ( summarized is like this ) :
interface interfaceA {
string myMeth();
}
public class abstract ClassA{
// string _myStrValue; // This is what I want to add, but
// the syntax doesn't fit...why?
string myMethod()
{
return void;
}
}
public class myDerivedClassA : ClassA, interfaceA
{
}
--
Texeme
http://texeme.com
incognito () Updated Almost Daily
http://kentpsychedelic.blogspot.com
I designed an abstract class, but when I try to add it to the abstract
class, it flags an error in VS.NET.
The design ( summarized is like this ) :
interface interfaceA {
string myMeth();
}
public class abstract ClassA{
// string _myStrValue; // This is what I want to add, but
// the syntax doesn't fit...why?
string myMethod()
{
return void;
}
}
public class myDerivedClassA : ClassA, interfaceA
{
}
--
Texeme
http://texeme.com
incognito () Updated Almost Daily
http://kentpsychedelic.blogspot.com