Giter Club home page Giter Club logo

xml-data-saving-practice's Introduction

XML Data Saving Practice

This C# program provides an example of how to save and load data from an XML file using XmlSerializer class.

Prerequisites

  • .NET 7.0 SDK.

Usage

The program presents a simple console menu that allows the user to choose between three options:

  • 1 - Load: Load and display the data saved in an existing XML file.
  • 2 - Save: Save sample data to an XML file named "data.xml" located in the current directory.
  • 3 - Exit: Exit the program.

When selecting options 1 or 2, the program uses the XmlSerializer class to serialize and deserialize data to and from an XML file.

How to run

  1. Clone the repository or download the source code.
  2. Navigate to the project directory using the command prompt or terminal.
  3. Run the program by executing the following command:
dotnet run
  1. Select an option from the console menu.

License

This project is licensed under the MIT License.

xml-data-saving-practice's People

Contributors

timursl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.