Lassen Sie das Beispiel sein: class Base {
Base (const Base & copyFrom) { globalRegister (* this); }
}
class Derived {
Derived (const Derived & copyFrom) : Base (copyFrom) {}
}
ich Vor
Ich muss eine Tabelle mit einer Liste der übernommenen Objekte anzeigen. Zum Beispiel: public abstract class Animal
{
public string Name { get; set; }
public abstract string Detail { get; }
Ich bin neu in die Programmierung und diese Klasse-Dinge tun meinen Kopf in Hier ist mein Code (Typ basiert auf userinput) public static Account CreateAccount(int type)
{
switch (type)
{