Zero Field
Collapse the table of content
Expand the table of content

Complex::Zero Field

 

Returns a new Complex instance with a real number equal to zero and an imaginary number equal to zero.

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

public:
static initonly Complex Zero

Field Value

Type: System.Numerics::Complex

The Zero property is most frequently used to compare a Complex value to zero.

The following example instantiates a Complex value by using the Zero property. It then compares this value to another value that is instantiated by calling the Complex constructor with a real part equal to zero and an imaginary part equal to zero. As the output from the example shows, the two values are equal.

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:
© 2016 Microsoft