Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Complex::Real Property

 

Gets the real component of the current Complex object.

Namespace:   System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

public:
property double Real {
	double get();
}

Property Value

Type: System::Double

The real component of a complex number.

Given a complex number a + bi, the Real property returns the value of a.

The following example instantiates an array of Complex objects and displays the real and imaginary components of each in the form a + bi.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft