Como converter XML complexo para .NET Classe? [duplicado
Esta pergunta já tem uma resposta aqui:
Converter XML String para Object 12 respostasEu tenho isto XML e imaginando como posso converter em Classe C?
<?xml version="1.0" encoding="utf-8"?>
<TextScrollerItems xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Item type="text" ID="234">
<Text Color="Blue">
Sample text...
</Text>
</Item>
<Item type="image" ID="2456">
<Image>
clientLogo.png
</Image>
</Item>
</TextScrollerItems>