我爱Aspx >> VB.Net >> VB.NET and C# 语法比较手册Math.Pow(x, y)
Assignment
= += -= *= /= %= &= |= ^= <<= >>= ++ --
Bitwise
& | ^ ~ << >>
Logical
&& || !
Note: && and || perform short-circuit logical evaluations
String Concatenation
+
Choices
greeting = IIf(age < 20, "What@#s up?", "Hello")
@# One line doesn@#t require "End If", no "Else"
If language = "VB.NET" Then langType = "verbose"
@# Use : to put two commands on same line
If x <> 100 Then x *= 5 : y *= 2
@# or to break up any long single command use _
If whenYouHaveAReally < longLine And itNeedsToBeBrokenInto2 > Lines Then _
UseTheUnderscore(charToBreakItUp)
@#If x > 5 Then
x *= y
ElseIf x = 5 Then
【我对这篇文章有话说?】
在VB.NET中应用Agent技术[05-20]
VB.NET获取硬盘信息的几种方法[05-20]
利用VB.NET访问注册表[05-20]
Vb.net向sql server数据库中保存..[05-20]
Vb.net向sql server数据库中保存..[05-20]
VB.net是怎样做到的(一、二)[05-20]
VB.net是怎样做到的(四、五)[05-20]
VB.NET是怎样做到的(五、六)[05-20]
VB.NET实现PhotoShop的流动选取框[05-20]
VB.NET是怎样做到的(七)——可..[05-20]
在VB.NET中应用Agent技术[05-20]
VB.NET获取硬盘信息的几种方法[05-20]
利用VB.NET访问注册表[05-20]
Vb.net向sql server数据库中保存..[05-20]
Vb.net向sql server数据库中保存..[05-20]
向Visual Basic程序员介绍My命名..[05-20]
向Visual Basic程序员介绍My命名..[05-20]
VB.net是怎样做到的(一、二)[05-20]
VB.net是怎样做到的(四、五)[05-20]
VB.NET是怎样做到的(五、六)[05-20]