using System;
namespace Inheritance
{
class A { }
interface Inner { }
struct S : A, Inner //1
{
int num = 10; //2
public S() //3
{
}
static S() //4
{
}
}
class Program
{
static void Main(string[] args)
{
S obj = new S(); //5
}
}
}
Login in to like
Login in to comment