If I have
[XmlElement(ElementName = "Title")]
public string Title;
How can i include an attribute in title without declaring a class (its type is just a string)?? so that when i serialize using XML serializer, the output is something like this:
<Movie>
<Title x:uid="movie_001">Armagedon</Title>
<Date>010101</Date>
<Movie>
and not like this:
<Movie>
<Title x:uid="movie_001" MovieTile="Armagedon"\>
<Date>010101</Date>
<Movie>