⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 impoverloadconversiondecimaltogenericsingle.vb

📁 大名鼎鼎的mono是.NET平台的跨平台(支持linux
💻 VB
字号:
'Author:'   V. Sudharsan (vsudharsan@novell.com)'' (C) 2005 Novell, Inc.'Expected to call single Option Strict OffModule ImpConversionDecimaltoSingle    Function fun(ByVal i As Single)        Return 1    End Function    Function fun(ByVal i As Double)        Return 2    End Function    Function Main() As Integer        Dim j As Integer        Dim i As Decimal = 10        j = fun(i)        If j <> 1 Then            System.Console.WriteLine("Implicit Conversion not working. Expected 1 but got " & j) : Return 1        End If    End FunctionEnd Module

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -