Question: I want to read this Config File with c#

```
<Wo>
 <Od name="rene" id="32442">
  <Ider>
    <Suc name="Oda"/>
    <Fed name="Wor"/>
  </Ider>
  <Proc id="756545">
     <add name="var" type="int"/>
     <add name="zar" type="string"/>
  </Proc>
</Od>
<Od name="mene" id="4562">
  <Ider>
    <Suc name="Zida"/>
    <Fed name="Worm"/>
  </Ider>
  <Proc id="7985">
     <add name="tar" type="bool"/>
     <add name="mar" type="string"/>
  </Proc>
</Od>
</Wo>

```

Answer: 
There are many options in C# for reading structured data files. This appears to be XML, in which case [LINQ to XML](http://msdn.microsoft.com/en-us/library/bb387098.aspx) would provide a simple means of reading this data.
You could use *split* or *regex* to read this file, i would go with Split.

**For example:**

```
  string strReturn;      
  strReturn = str.Split(new string[] { "Od name=\"mene\""}, StringSplitOptions.None)[1];
  strReturn = strReturn.Split(new string[] { "<\Od>" }, StringSplitOptions.None)[0];
  return strReturn;

```