How can i fetch the 'Value' from the keyvalue pair using c#
问题 I would like to fetch the string mentioned in 'Value' for various parameter available under 'Name' using c#. Here is my current xml as follows: <DrWatson> <Sets> <Set> <APIParameters> <Parameter Name="SID_STAGE" Value="101198" Required="true" /> <Parameter Name="SID_QE" Value="Test 91817" Required="true" /> </APIParameters> </Set> </Sets> </DrWatson> I would like to fetch the '101198' available under 'Value' for Name = SID_STAGE . Please suggest how can i perform it. 回答1: You can parse