Imports System.Numerics
Imports System
Module Example
Public Sub Main()
Dim c1 As New Complex(1.2, 2.3)
Dim values() As Complex = { New Complex(1.2, 2.3),
New Complex(1.5, 0.75),
New Complex(3.0, -5.0) }
For Each c2 In values
Console.WriteLine("{0} / {1} = {2:N2}", c1, c2,
Complex.Divide(c1, c2))
Next
End Sub
End Module