本文整理匯總了VB.NET中System.Numerics.Complex.Implicit操作符的典型用法代碼示例。如果您正苦於以下問題:VB.NET Complex.Implicit操作符的具體用法?VB.NET Complex.Implicit怎麽用?VB.NET Complex.Implicit使用的例子?那麽, 這裏精選的操作符代碼示例或許可以為您提供幫助。您也可以進一步了解該操作符所在類System.Numerics.Complex
的用法示例。
在下文中一共展示了Complex.Implicit操作符的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的VB.NET代碼示例。
示例1:
Dim longValue As ULong = 951034217
Dim c1 As System.Numerics.Complex = longValue
Console.WriteLine(c1)
輸出:
(951034217, 0)
示例2:
Dim intValue As UInteger = 197461
Dim c1 As System.Numerics.Complex = intValue
Console.WriteLine(c1)
輸出:
(197461, 0)
示例3:
Dim shortValue As UShort = 421
Dim c1 As System.Numerics.Complex = shortValue
Console.WriteLine(c1)
輸出:
(421, 0)
示例4:
Dim singleValue As Single = 1.032e-08
Dim c1 As System.Numerics.Complex = singleValue
Console.WriteLine(c1)
輸出:
(1.03199999657022E-08, 0)
示例5:
Dim sbyteValue As SByte = -12
Dim c1 As System.Numerics.Complex = sbyteValue
Console.WriteLine(c1)
輸出:
(-12, 0)
示例6:
Dim intValue As Integer = 1034217
Dim c1 As System.Numerics.Complex = intValue
Console.WriteLine(c1)
輸出:
(1034217, 0)
示例7:
Dim shortValue As Short = 16024
Dim c1 As System.Numerics.Complex = shortValue
Console.WriteLine(c1)
輸出:
(16024, 0)
示例8:
Dim doubleValue As Double = 1.032e-16
Dim c1 As System.Numerics.Complex = doubleValue
Console.WriteLine(c1)
輸出:
(1.032E-16, 0)
示例9:
Dim byteValue As Byte = 122
Dim c1 As System.Numerics.Complex = byteValue
Console.WriteLine(c1)
輸出:
(122, 0)
示例10:
Dim longValue As Long = 951034217
Dim c1 As System.Numerics.Complex = longValue
Console.WriteLine(c1)
輸出:
(951034217, 0)