<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Visual_C%2B%2B_.NET%2FStructure%2FDefinition</id>
		<title>Visual C++ .NET/Structure/Definition - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Visual_C%2B%2B_.NET%2FStructure%2FDefinition"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/Structure/Definition&amp;action=history"/>
		<updated>2026-04-30T04:18:32Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/Structure/Definition&amp;diff=3576&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/Structure/Definition&amp;diff=3576&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:02Z</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;Версия 15:31, 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://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/Structure/Definition&amp;diff=3577&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Visual_C%2B%2B_.NET/Structure/Definition&amp;diff=3577&amp;oldid=prev"/>
				<updated>2010-05-26T12:05:28Z</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;==Access a Structure==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;
#using &amp;lt;mscorlib.dll&amp;gt;&lt;br /&gt;
using namespace System;&lt;br /&gt;
struct MyInfo {&lt;br /&gt;
         int x,y;&lt;br /&gt;
};&lt;br /&gt;
int square(int a) {&lt;br /&gt;
         return a * a;&lt;br /&gt;
}&lt;br /&gt;
int main(void) {&lt;br /&gt;
         MyInfo info;&lt;br /&gt;
         info.x = 10;&lt;br /&gt;
         info.y = 20;&lt;br /&gt;
         Console::WriteLine(square(info.x));&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Complex struct==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;
using namespace System;&lt;br /&gt;
using namespace System::Globalization;&lt;br /&gt;
public value struct Complex&lt;br /&gt;
{&lt;br /&gt;
    // Constructor&lt;br /&gt;
    Complex(double real, double imaginary)&lt;br /&gt;
    {&lt;br /&gt;
        Real = real;&lt;br /&gt;
        Imaginary = imaginary;&lt;br /&gt;
    }&lt;br /&gt;
    // Polar form initialization&lt;br /&gt;
    static Complex Polar(double polarRadius, double polarPhase)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(polarRadius*Math::Cos(polarPhase), polarRadius*Math::Sin(polarPhase));&lt;br /&gt;
    }&lt;br /&gt;
    // Real and imaginary parts&lt;br /&gt;
    property double Real;&lt;br /&gt;
    property double Imaginary;&lt;br /&gt;
    // Conjugate value&lt;br /&gt;
    property Complex Conjugate&lt;br /&gt;
    {&lt;br /&gt;
        Complex get()&lt;br /&gt;
        {&lt;br /&gt;
            return Complex(Real, -Imaginary);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    // Absolute value&lt;br /&gt;
    property double Absolute&lt;br /&gt;
    {&lt;br /&gt;
        double get()&lt;br /&gt;
        {&lt;br /&gt;
            return Math::Sqrt(Square);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    // Absolute value squared&lt;br /&gt;
    property double Square&lt;br /&gt;
    {&lt;br /&gt;
        double get()&lt;br /&gt;
        {&lt;br /&gt;
            return Real*Real + Imaginary*Imaginary;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    // Poloar Radius&lt;br /&gt;
    property double PolarRadius&lt;br /&gt;
    {&lt;br /&gt;
        double get()&lt;br /&gt;
        {&lt;br /&gt;
            return Absolute;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    // Polar Angle&lt;br /&gt;
    property double PolarAngle&lt;br /&gt;
    {&lt;br /&gt;
        double get()&lt;br /&gt;
        {&lt;br /&gt;
            return Math::Atan2(Imaginary, Real);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    // Convert-from operator&lt;br /&gt;
    static operator Complex(double a)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a, 0.0);&lt;br /&gt;
    }&lt;br /&gt;
    // Unary +/- operators&lt;br /&gt;
    static Complex operator +(Complex a)&lt;br /&gt;
    {&lt;br /&gt;
        return a;&lt;br /&gt;
    }&lt;br /&gt;
    static Complex operator -(Complex a)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(-a.Real, -a.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    // Unary increment/decrement operators&lt;br /&gt;
    static Complex operator --(Complex a)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real - 1, a.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex operator ++(Complex a)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real + 1, a.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    // Comparison operators&lt;br /&gt;
    static bool operator ==(Complex a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        return a.Real == b.Real &amp;amp;&amp;amp; a.Imaginary == b.Imaginary;&lt;br /&gt;
    }&lt;br /&gt;
    static bool operator !=(Complex a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        return a.Real != b.Real || a.Imaginary == b.Imaginary;&lt;br /&gt;
    }&lt;br /&gt;
    // Plus operators&lt;br /&gt;
    static Complex operator +(Complex a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real + b.Real, a.Imaginary + b.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex operator +(Complex a, double b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real + b, a.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    // Minus operators&lt;br /&gt;
    static Complex operator -(Complex a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real - b.Real, a.Imaginary - b.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex operator -(Complex a, double b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real - b, a.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    // Multiplication operators&lt;br /&gt;
    static Complex operator *(Complex a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real*b.Real - a.Imaginary*b.Imaginary, a.Real*b.Imaginary + a.Imaginary*b.Real);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex operator *(Complex a, double b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real*b, a.Imaginary*b);&lt;br /&gt;
    }&lt;br /&gt;
    // Division operators&lt;br /&gt;
    static Complex operator /(Complex a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        double d = b.Square;&lt;br /&gt;
        return Complex((a.Real*b.Real + a.Imaginary*b.Imaginary)/d, (b.Real*a.Imaginary - a.Real*b.Imaginary)/d);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex operator /(Complex a, double b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real/b, a.Imaginary/b);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex operator /(double a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a, 0)/b;&lt;br /&gt;
    }&lt;br /&gt;
    // Friendly alrernate operator methods&lt;br /&gt;
    static Complex Plus(Complex a)&lt;br /&gt;
    {&lt;br /&gt;
        return a;&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Negate(Complex a)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(-a.Real, -a.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Decrement(Complex a)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real - 1, a.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Increment(Complex a)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real + 1, a.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Add(Complex a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real + b.Real, a.Imaginary + b.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Add(Complex a, double b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real + b, a.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Subtract(Complex a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real - b.Real, a.Imaginary - b.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Subtract(Complex a, double b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real - b, a.Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Multiply(Complex a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real*b.Real - a.Imaginary*b.Imaginary, a.Real*b.Imaginary + a.Imaginary*b.Real);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Multiply(Complex a, double b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real*b, a.Imaginary*b);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Divide(Complex a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        double d = b.Square;&lt;br /&gt;
        return Complex((a.Real*b.Real + a.Imaginary*b.Imaginary)/d, (b.Real*a.Imaginary - a.Real*b.Imaginary)/d);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Divide(Complex a, double b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a.Real/b, a.Imaginary/b);&lt;br /&gt;
    }&lt;br /&gt;
    static Complex Divide(double a, Complex b)&lt;br /&gt;
    {&lt;br /&gt;
        return Complex(a, 0)/b;&lt;br /&gt;
    }&lt;br /&gt;
    // Misc required overloads&lt;br /&gt;
    virtual bool Equals(Object^ obj) override&lt;br /&gt;
    {&lt;br /&gt;
        Complex^ compareTo = dynamic_cast&amp;lt;Complex^&amp;gt;(obj);&lt;br /&gt;
        if ( compareTo )&lt;br /&gt;
        {&lt;br /&gt;
            return *this == *compareTo;&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    virtual int GetHashCode() override&lt;br /&gt;
    {&lt;br /&gt;
        return Real.GetHashCode() ^ Imaginary.GetHashCode();&lt;br /&gt;
    }&lt;br /&gt;
    virtual String^ ToString() override&lt;br /&gt;
    {&lt;br /&gt;
        return String::Format(CultureInfo::CurrentCulture-&amp;gt;NumberFormat,&lt;br /&gt;
            &amp;quot;({0}, {1})&amp;quot;, Real, Imaginary);&lt;br /&gt;
    }&lt;br /&gt;
};&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
    Complex a(11, 12), b(-13, 14);&lt;br /&gt;
    a = 1/a;&lt;br /&gt;
    a = 2;&lt;br /&gt;
    Console::WriteLine(&amp;quot;a*b={0}&amp;quot;, a*b);&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Create a Structure==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;
#using &amp;lt;mscorlib.dll&amp;gt;&lt;br /&gt;
using namespace System;&lt;br /&gt;
struct Point { int x; int y; };&lt;br /&gt;
struct TwoPoints { Point point1; Point point2; };&lt;br /&gt;
int main(void)&lt;br /&gt;
{&lt;br /&gt;
    TwoPoints myPoints;&lt;br /&gt;
    myPoints.point1.x = 10;&lt;br /&gt;
    myPoints.point1.y = 15;&lt;br /&gt;
    myPoints.point2.x = 13;&lt;br /&gt;
    myPoints.point2.y = 25;&lt;br /&gt;
    Console::WriteLine(myPoints.point1.x);&lt;br /&gt;
    Console::WriteLine(myPoints.point1.y);&lt;br /&gt;
    Console::WriteLine(myPoints.point2.x);&lt;br /&gt;
    Console::WriteLine(myPoints.point2.y);&lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Declare a Structure Type==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;
#using &amp;lt;mscorlib.dll&amp;gt;&lt;br /&gt;
using namespace System;&lt;br /&gt;
struct Author {&lt;br /&gt;
    char *Name;&lt;br /&gt;
    char *DateOfBirth;&lt;br /&gt;
    char *HomeTown;&lt;br /&gt;
};&lt;br /&gt;
struct Book{&lt;br /&gt;
    char *Title;&lt;br /&gt;
    char *Artist;&lt;br /&gt;
    Author author;&lt;br /&gt;
    int YearReleased;&lt;br /&gt;
};&lt;br /&gt;
int main(void)&lt;br /&gt;
{&lt;br /&gt;
   Book myBook;&lt;br /&gt;
   myBook.Title = &amp;quot;C++&amp;quot;;&lt;br /&gt;
   myBook.Artist = &amp;quot;nfex&amp;quot;;&lt;br /&gt;
   myBook.author.Name = &amp;quot;Jack&amp;quot;;&lt;br /&gt;
   &lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initialize a Structure==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;
#using &amp;lt;mscorlib.dll&amp;gt;&lt;br /&gt;
using namespace System;&lt;br /&gt;
struct Book {&lt;br /&gt;
    char *Title;&lt;br /&gt;
    char *Artist;&lt;br /&gt;
    int YearReleased;&lt;br /&gt;
    Book(char *t, char *a, int y) {&lt;br /&gt;
        Title = t; Artist = a; YearReleased = y;&lt;br /&gt;
    }&lt;br /&gt;
};&lt;br /&gt;
int main(void)&lt;br /&gt;
{&lt;br /&gt;
    Book b1(&amp;quot;A&amp;quot;,&amp;quot;B&amp;quot;,2001);&lt;br /&gt;
    Book *b2 = new Book(&amp;quot;A&amp;quot;,&amp;quot;B&amp;quot;,1974);&lt;br /&gt;
    Console::WriteLine(b1.Artist);&lt;br /&gt;
    Console::WriteLine(b2-&amp;gt;Artist);&lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==struct implements IComparable==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
#include &amp;quot;stdafx.h&amp;quot;&lt;br /&gt;
using namespace System;&lt;br /&gt;
using namespace System::Collections;&lt;br /&gt;
using namespace System::Globalization;&lt;br /&gt;
public value struct Vector: public IComparable&lt;br /&gt;
{&lt;br /&gt;
    property double X;&lt;br /&gt;
    property double Y;&lt;br /&gt;
    property double Magnitude&lt;br /&gt;
    {&lt;br /&gt;
        double get()&lt;br /&gt;
        {&lt;br /&gt;
            return Math::Sqrt(X*X + Y*Y);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    virtual int CompareTo(Object^ obj)&lt;br /&gt;
    {&lt;br /&gt;
        Vector^ v = *dynamic_cast&amp;lt;Vector^&amp;gt;(obj);&lt;br /&gt;
        if ( v )&lt;br /&gt;
        {&lt;br /&gt;
            if ( this-&amp;gt;Magnitude == v-&amp;gt;Magnitude )&lt;br /&gt;
                return 0;&lt;br /&gt;
            else if ( this-&amp;gt;Magnitude &amp;lt; v-&amp;gt;Magnitude )&lt;br /&gt;
                return -1;&lt;br /&gt;
            else&lt;br /&gt;
                return 1;&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
            throw gcnew ArgumentException(&lt;br /&gt;
                &amp;quot;Vector::CompareTo: obj must be of type &amp;quot;Vector&amp;quot;&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    // Comparison operators&lt;br /&gt;
    static bool operator ==(Vector a, Vector b)&lt;br /&gt;
    {&lt;br /&gt;
        return a.X == b.X &amp;amp;&amp;amp; a.Y == b.Y;&lt;br /&gt;
    }&lt;br /&gt;
    static bool operator !=(Vector a, Vector b)&lt;br /&gt;
    {&lt;br /&gt;
        return a.X != b.X || a.Y == b.Y;&lt;br /&gt;
    }&lt;br /&gt;
    static bool operator &amp;gt;(Vector a, Vector b)&lt;br /&gt;
    {&lt;br /&gt;
        return a.Magnitude &amp;gt; b.Magnitude;&lt;br /&gt;
    }&lt;br /&gt;
    static bool operator &amp;lt;(Vector a, Vector b)&lt;br /&gt;
    {&lt;br /&gt;
        return a.Magnitude &amp;lt; b.Magnitude;&lt;br /&gt;
    }&lt;br /&gt;
    // Misc required overloads&lt;br /&gt;
    virtual bool Equals(Object^ obj) override&lt;br /&gt;
    {&lt;br /&gt;
        Vector^ compareTo = dynamic_cast&amp;lt;Vector^&amp;gt;(obj);&lt;br /&gt;
        if ( compareTo )&lt;br /&gt;
        {&lt;br /&gt;
            return *this == *compareTo;&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    virtual int GetHashCode() override&lt;br /&gt;
    {&lt;br /&gt;
        return X.GetHashCode() ^ Y.GetHashCode();&lt;br /&gt;
    }&lt;br /&gt;
    virtual String^ ToString() override&lt;br /&gt;
    {&lt;br /&gt;
        return String::Format(CultureInfo::CurrentCulture-&amp;gt;NumberFormat,&lt;br /&gt;
            &amp;quot;[{0}, {1}]&amp;quot;, X, Y);&lt;br /&gt;
    }&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
    array&amp;lt;Vector&amp;gt;^ data = gcnew array&amp;lt;Vector&amp;gt;(10);&lt;br /&gt;
    // Sorting test&lt;br /&gt;
    Random^ random = gcnew Random();&lt;br /&gt;
    for ( int i = 0; i &amp;lt; data-&amp;gt;Length; i++ )&lt;br /&gt;
    {&lt;br /&gt;
        data[i].X = random-&amp;gt;NextDouble();&lt;br /&gt;
        data[i].Y = random-&amp;gt;NextDouble();&lt;br /&gt;
    }&lt;br /&gt;
    Array::Sort(data);&lt;br /&gt;
    for ( int i = 0; i &amp;lt; data-&amp;gt;Length; i++ )&lt;br /&gt;
    {&lt;br /&gt;
        Console::WriteLine(&amp;quot;data[{0}]={1}&amp;quot;, i, data[i].Magnitude);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>