I am a beginner concerning development in C# and I need your advice to help me choosing a practical fileformat whose content will be imported in my application.
Basically I’m developing test automation with Ranorex, a test automation software whose projects are based on C#.
The aim of the specific project is to test another software which imports a file containing a list of devices and repeats this procedure
I want to see if the devices are each time successfully imported. It is like a big loop where Ranorex restarts the program again and again with another file to import and other devices from a file.
So I have several files to import with various devices inside it.
The problem is the number is not regular.
My first idea was to use an excel file like that but importing excel in C# does not seem practical.

Our program can only import file by file and needs to be restarted after checking the devices.
Basically I want my C# (ranorex) project to start my software, import a file, check every devices from this file, close the software and restart it again the same way.
You understand it is more or less a question of list with two dimension.
The list will contains the file to import and each file contains devices to test.
What is the best solution to do that ? A database ?
edit1: Well my first picture was very basic and was there to help you understand.
In reality, my lines are like this, The MHZ is the file and the other colons are a description of one device. You see why I believe XML will be perhaps complicated to manage, because a device is characterized by many parameters.

This is exactly what the XML file format is for. There are tons of articles on XML Serialization using .NET, I recommend you start with Introducing XML Serialization and work your way through the examples.