Skip to content

Instantly share code, notes, and snippets.

@chrissie1
Created September 13, 2012 09:50
Show Gist options
  • Save chrissie1/3713285 to your computer and use it in GitHub Desktop.
Save chrissie1/3713285 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Subclass s = new Subclass();
s.test();
Console.ReadLine();
}
public interface IInterface
{
void test();
}
public abstract class baseclass
{
public void test()
{
Console.WriteLine("baseclass");
}
}
public class Subclass:baseclass,IInterface
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment