create a dictionary or list from string(HTML tag included) in C#
- by loviji
Hello,
A have a string like this:
string s = @"
<tr>
<td>11</td><td>12</td>
</tr>
<tr>
<td>21</td><td>22</td>
</tr>
<tr>
<td>31</td><td>32</td>
</tr>";
How to create Dictionary<int, int> d = new…