abstract class ALauncher
{
protected abstract Object parseArgs(string[] args);
}
class Launcher : ALauncher
{
protected override ABitFileManager parseArgs(string[] args) {...}
}
interface ILauncher
{
object ParseArgs(string[] args);
}
abstract class ALanucher<T> : ILauncher
{
protected abstract T ParseArgs(string[] args);
object ILanucher.ParseArgs(string[] args)
{
return ParseArgs(args);
}
}
class Launcher : ALanucher<int>
{
protected override int ParseArgs(string[] args)
{
throw new NotImplementedException();
}
}