section-engineering-education / engineering-education

“Section's Engineering Education (EngEd) Program is dedicated to offering a unique quality community experience for computer science university students."
Apache License 2.0
364 stars 890 forks source link

How to use XmlSerializer in C#? #3746

Closed Amoh-writer closed 2 years ago

Amoh-writer commented 3 years ago

Introduction paragraph (2-3 paragraphs):

Serialization/ De-serialization allow communication with another application by sending and receiving data. With XmlSerializer, you can control how objects are encoded into XML. You'll need the following two classes to execute XML Serialization:

The class StreamWriter is used to write data into a stream.

The XmlSerializer class is a class that allows you to serialize XML documents.
When data about objects must be transmitted from one application to another, the concepts of serialization and deserialization are utilized. To export application data to a file, serialization is used.

Key takeaways:

References:

N/A

WanjaMIKE commented 3 years ago

Good afternoon and thank you for submitting your topic suggestion. @Amoh-writer Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

hectorkambow commented 3 years ago

@Amoh-writer How will this article differ from what is published our other blog sites

Amoh-writer commented 3 years ago

Hello @hectorkambow, I have looked at the article you have suggested and it is much shallow than what am going to write in this tutorial. I will write a unique article and add some concepts that are not in the article you suggested article. For example, they have not described how to serialize objects to XML and how to interact with XML files using C# objects. Also, my article code snippets will be beginner-friendly and I will explain every bit of the snippet.

ahmadmardeni1 commented 3 years ago

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it).

Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.) ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved @Amoh-writer

hectorkambow commented 2 years ago

@Amoh-writer Just and FYI I will be closing this topic form just to help clear up the queue where possible - can be REOPENED at anytime when ready. 👍

Amoh-writer commented 2 years ago

Please reopen the topic for me

Amoh-writer commented 1 year ago

Hae there can you please reopen this topic for me

Amoh-writer commented 1 year ago

Am ready to work on my topic,please reopen it for me

Amoh-writer commented 1 year ago

@Amoh-writer Just and FYI I will be closing this topic form just to help clear up the queue where possible - can be REOPENED at anytime when ready. 👍

Please can you reopen this topic ,I am ready to work on it