<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_Tutorial%2FCollections%2FSort</id>
		<title>VB.Net Tutorial/Collections/Sort - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_Tutorial%2FCollections%2FSort"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Collections/Sort&amp;action=history"/>
		<updated>2026-04-05T13:13:09Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Collections/Sort&amp;diff=2953&amp;oldid=prev</id>
		<title> в 16:40, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Collections/Sort&amp;diff=2953&amp;oldid=prev"/>
				<updated>2010-05-26T16:40:30Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 16:40, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Collections/Sort&amp;diff=2954&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Collections/Sort&amp;diff=2954&amp;oldid=prev"/>
				<updated>2010-05-26T12:53:51Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Creates random numbers and sorts them using bubble sort==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Module Tester&lt;br /&gt;
   Sub Main()&lt;br /&gt;
      Dim array As Integer() = New Integer(9) {}&lt;br /&gt;
      Dim randomNumber As Random = New Random()&lt;br /&gt;
      Dim i As Integer&lt;br /&gt;
&lt;br /&gt;
      For i = 0 To array.GetUpperBound(0)&lt;br /&gt;
         array(i) = randomNumber.Next(100)&lt;br /&gt;
         Console.Write(array(i)&amp;amp; &amp;quot; &amp;quot;)&lt;br /&gt;
      Next&lt;br /&gt;
      BubbleSort(array)&lt;br /&gt;
      Console.WriteLine(&amp;quot;&amp;quot;)&lt;br /&gt;
      For i = 0 To array.GetUpperBound(0)&lt;br /&gt;
         Console.Write(array(i)&amp;amp; &amp;quot; &amp;quot;)&lt;br /&gt;
      Next&lt;br /&gt;
   End Sub &lt;br /&gt;
   Sub BubbleSort(ByVal sortArray As Integer())&lt;br /&gt;
      Dim pass, i As Integer&lt;br /&gt;
      For pass = 1 To sortArray.GetUpperBound(0)&lt;br /&gt;
         For i = 0 To sortArray.GetUpperBound(0) - 1&lt;br /&gt;
            If sortArray(i) &amp;gt; sortArray(i + 1) Then&lt;br /&gt;
               Swap(sortArray, i)&lt;br /&gt;
            End If&lt;br /&gt;
         Next&lt;br /&gt;
      Next&lt;br /&gt;
   End Sub &amp;quot; BubbleSort&lt;br /&gt;
   Sub Swap(ByVal swapArray As Integer(), _&lt;br /&gt;
      ByVal first As Integer)&lt;br /&gt;
      Dim hold As Integer&lt;br /&gt;
      hold = swapArray(first)&lt;br /&gt;
      swapArray(first) = swapArray(first + 1)&lt;br /&gt;
      swapArray(first + 1) = hold&lt;br /&gt;
   End Sub &amp;quot; Swap&lt;br /&gt;
End Module&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;11 18 28 60 97 59 23 23 25 14&lt;br /&gt;
11 14 18 23 23 25 28 59 60 97 &amp;quot;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>