<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>arrays</title>
		<link>http://rbwhitaker.wikidot.com/forum/t-1083069/arrays</link>
		<description>Posts in the discussion thread &quot;arrays&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Mon, 20 Jul 2026 19:46:57 +0000</lastBuildDate>
		
					<item>
				<guid>http://rbwhitaker.wikidot.com/forum/t-1083069#post-4857448</guid>
				<title>Re: arrays</title>
				<link>http://rbwhitaker.wikidot.com/forum/t-1083069/arrays#post-4857448</link>
				<description></description>
				<pubDate>Wed, 30 Dec 2020 14:44:59 +0000</pubDate>
				<wikidot:authorName>vikasjkn</wikidot:authorName>				<wikidot:authorUserId>7181513</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>When printing array you need to use</p> <p>Console.WriteLine(scores[0]);</p> <p>Basically, scores[0] will print &quot;100&quot; as at array's 0th index value is 100.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rbwhitaker.wikidot.com/forum/t-1083069#post-2207694</guid>
				<title>Re: arrays</title>
				<link>http://rbwhitaker.wikidot.com/forum/t-1083069/arrays#post-2207694</link>
				<description></description>
				<pubDate>Thu, 15 Jan 2015 14:41:34 +0000</pubDate>
				<wikidot:authorName>Emblis</wikidot:authorName>				<wikidot:authorUserId>1671135</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Arrays are one of the simplest ways of storing data and allow for very fast retrieval of data. An array is fixed in size so you have to know the size when you create it, if you later find out you need a bigger array you have to reallocate it and that is expensive.</p> <p>You access an element in array with array[index] where index is the position in the array. array[0] will access the first element, array[1] the 2nd and so on and so forth. What you do is that you can use an integer (int) to access it, in this example that integer is named index.</p> <p>Console.WriteLine(array) will call on array.ToString() and that will simply type the class name in this case. if you want to print every element in an array you need to use a loop.</p> <div class="code"> <pre><code>for(int i =0; i&lt;array.length,i++) { Console.WriteLine(array[i]); }</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rbwhitaker.wikidot.com/forum/t-1083069#post-2207306</guid>
				<title>(no title)</title>
				<link>http://rbwhitaker.wikidot.com/forum/t-1083069/arrays#post-2207306</link>
				<description></description>
				<pubDate>Thu, 15 Jan 2015 09:10:46 +0000</pubDate>
				<wikidot:authorName>yurij</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>also followed your minimum value in array tutorial&#8230; get same problem&#8230;</p> <p>int[] array = new int[] { 4, 51, -7, 13, -99, 15, -8, 45, 90 };<br /> int currentMinimum = Int32.MaxValue;</p> <p>for (int index = 0; index &lt; array.Length; index++)<br /> {<br /> if (array[index] &lt; currentMinimum)<br /> {<br /> currentMinimum = array[index];<br /> }<br /> }<br /> Console.WriteLine(array);<br /> Console.ReadKey();</p> <p>what is index..</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rbwhitaker.wikidot.com/forum/t-1083069#post-2207298</guid>
				<title>(no title)</title>
				<link>http://rbwhitaker.wikidot.com/forum/t-1083069/arrays#post-2207298</link>
				<description></description>
				<pubDate>Thu, 15 Jan 2015 09:06:16 +0000</pubDate>
				<wikidot:authorName>yurij</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>and u never explained about if( array[index]&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. why does it say index&#8230;<br /> i havent use the word index anywhere else</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rbwhitaker.wikidot.com/forum/t-1083069#post-2207287</guid>
				<title>arrays</title>
				<link>http://rbwhitaker.wikidot.com/forum/t-1083069/arrays#post-2207287</link>
				<description></description>
				<pubDate>Thu, 15 Jan 2015 08:58:43 +0000</pubDate>
				<wikidot:authorName>yurij</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>int[] scores = new int[10] { 100, 95, 92, 87, 55, 50, 48, 40, 35, 10 };</p> <p>Console.WriteLine(scores);<br /> Console.ReadLine();</p> <p>it keeps printing<br /> system.int32[]</p> <p>im on page 2 of the arrays and it doesn't show anywhere on to use them in console..</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>