本文整理汇总了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)