De/Serialize directly To/From XML Linq?

Public XDocument Serialize(T source) { XDocument target = new XDocument(); XmlSerializer s = new XmlSerializer(typeof(T)); System.Xml. XmlWriter writer = target.CreateWriter(); s. Serialize(writer, source); writer.Close(); return target; } public void Test1() { MyClass c = new MyClass() { SomeValue = "bar" }; XDocument doc = Serialize(c); Console.

WriteLine(doc.ToString()); }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions