string[] arr = new string[4];
arr[0] = "000";
arr[1] = "111";
arr[2] = "222";
arr[3] = "333";
Array.Clear(arr, 0, arr.Length);
Posts on .Net technology by Yasser R Shaikh. We have moved : http://yassershaikh.com/
string[] arr = new string[4];
arr[0] = "000";
arr[1] = "111";
arr[2] = "222";
arr[3] = "333";
Array.Clear(arr, 0, arr.Length);
Here I am limiting the decimal places to 3 in a double.
double old_value = 3.142356;
double new_value = Math.Round(old_value, 3);
:)
<security authenticationMode="Kerberos"> <localClientSettings maxClockSkew="00:07:00" /> <localServiceSettings maxClockSkew="00:07:00" /> <secureConversationBootstrap> <localClientSettings maxClockSkew="00:30:00" /> <localServiceSettings maxClockSkew="00:30:00" /> </secureConversationBootstrap> </security>
<?xml version="1.0" encoding="utf-8" ?>
<myroot>
<repeat_element>
<nt_interested_element1>aa</nt_interested_element1>
<interested_element1>yasser</interested_element1>
<nt_interested_element2>cc</nt_interested_element2>
<interested_element2>sachin</interested_element2>
<nt_interested_element3>eee</nt_interested_element3>
<interested_element3>sehwag</interested_element3>
<somelevel>
<somelevelDown>
<deep>
<interested_element4>dhoni</interested_element4>
<interested_element5>raina</interested_element5>
</deep>
</somelevelDown>
</somelevel>
</repeat_element>
<repeat_element>
<nt_interested_element1>11</nt_interested_element1>
<interested_element1>ramesh</interested_element1>
<nt_interested_element2>33</nt_interested_element2>
<interested_element2>suresh</interested_element2>
<nt_interested_element3>55</nt_interested_element3>
<interested_element3>sonu</interested_element3>
<somelevel>
<somelevelDown>
<deep>
<interested_element4>monu</interested_element4>
<interested_element5>ronu</interested_element5>
</deep>
</somelevelDown>
</somelevel>
</repeat_element>
</myroot>
2011 ·Code-Studio by yrus.