Answer the question
In order to leave comments, you need to log in
How to implement storage of equivalent elements in xml?
I want to make a configuration file for an application in c#, and store the property name, method name, and an array of passed parameters in it. But the problem is that different methods have a different number of parameters, and I don’t want, for example, to create many attributes of the form value1, value2, etc., since then it will be problematic to parse all this, but writing parameters into one attribute is also not the case, how best to proceed in this situation?
For example
<Param property= "name" method = "name" value1="value" value2="value" ></Param>
<Param property= "name" method = "name" value1="value"></Param>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question