Created
September 13, 2012 09:50
-
-
Save chrissie1/3713285 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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