Git Product home page Git Product logo

simple-config-reader-cs's Introduction

simple-config-reader-cs

English | Русский

A program that can import data from different sources into objects of the Configuration class. The class should look like this:

public class Configuration
{
     public string Name { get; set; }
     public string Description { get; set; }
}

At a minimum, the program should accept files of two formats as input - let them be xml and csv. Each file contains one Configuration object. The specific file structure is not important. The important thing is that after processing the file, the program is able to obtain the Configuration object.

For example, here is the file structure:

<?xml version="1.0" encoding="utf-8"?>
<config>
<name>Configuration 1</name>
<description>Description of Configuration 1</description>
</config>
Configuration 2;Description of Configuration 2

After processing each new file, the program displays a list of all available Configurations. As part of a test task, this list can simply be stored in memory (for example, a public static variable).

The program itself can be implemented as a console application. The selection of files can be done without user intervention, but simply sorting through files in a previously known folder.

simple-config-reader-cs's People

Contributors

alexeysp11 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.