I have a situation where I have to combine an enumerated value with an
interface. How can this be done?
namespace Stuff
{
public interface IThing
{
// This doesn't work, of course...
public enum EnumeratedStuff
{
None, First, Second
}
bool SomeMethod();
}
}
namespace Stuff
{
public class Thing : IThing
{
// Implement the enumerated EnumeratedStuff.
bool SomeMethod()
{
return true;
}
}
}
--
Richard Lewis Haggard
General: www.Haggard-And-Associates.com
Please come visit here for a couple thousand good giggles!:
www.haggard-and-associates.com/Humor/humor.htm