-
-
Save anonymous/9c52246d9bde724b3110e2861c55c4d0 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
class PaczkaZwierzat | |
{ | |
public List<Zwierze> Zwierzeta { get; set; } | |
} | |
class Zwierze | |
{ | |
public string Nazwa { get; set; } | |
} | |
class ZwierzeZyrafa : Zwierze | |
{ | |
} | |
class ZwierzeSlon : Zwierze | |
{ | |
} |
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
<PaczkaZwierzat> | |
<Zwierzeta> | |
<Zwierze Type="Zyrafa"> | |
<Nazwa>Fajna zyrafa</Name> | |
</Zwierze> | |
<Zwierze Type="Slon"> | |
<Nazwa>Fajny slon</Name> | |
</Zwierze> | |
<Zwierze Type="Zyrafa"> | |
<Nazwa>Fajna zyrafa 2</Name> | |
</Zwierze> | |
<Zwierze Type="Slon"> | |
<Nazwa>Fajny slon 2</Name> | |
</Zwierze> | |
</Zwierzeta> | |
</PaczkaZwierzat> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment