ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Clarification in array variable<p>refer following code</p> <p>&nbsp;</p> <pre class="brush: csharp"> string[] arr = { &#34;1&#34;, &#34;15&#34;, &#34;5&#34;, &#34;25&#34;, &#34;14&#34;,&#34;10&#34; }; int result = 0; for (int i = 0; i &lt;= arr.Length - 1; i++) { if (arr[i].EndsWith(&#34;5&#34;)) { result = result + Convert.ToInt32(arr[i]); } }</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/463365/Clarification-in-array-variable/https://www.aspforums.net:443/Threads/463365/Clarification-in-array-variable/Mon, 16 Apr 2012 09:58:58 GMT