public void Print() { assemblyOneClass1 A1 = new assemblyOneClass1(); //This will throw an error because we are not deriving from the assemblyOneClass1 from the assemblyOne class //A1.ID = 101; }
public void Print1() { assemblyOneClass1 A1 = new assemblyOneClass1(); base.ID = 101; }