由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - vb.net v.s. C#
相关主题
how to use old DLL in VB .NET?A question seeking answers
[solved] Re: use old DLL in VB .NET?问个基础问题
vb.net problemC# is light-years ahead of Java now (转载)
vb.net如何显示缩小后窗口消失的程序(已解决)Why java.lang.Iterable depends on java.util.Iterator
VB.net 的小问题请教这段代码是干嘛用的
高手帮忙看看.net下面编译常规c++程序的问题请教一个Java 多线程 同步的 面试题!
Has any of you tried SmartCode?hybrid bike vs. road bike
String::Format doesn't take integer type params问一个关于copy constructor的菜鸟问题。。。。。 (转载)
相关话题的讨论汇总
话题: c#话题: sub话题: statements话题: integer
进入DotNet版参与讨论
1 (共1页)
c*o
发帖数: 70
1
Can anyone tell me what vb.net can do but C# can't?
I read a lot of books. It seems to me that as long as there is a vb.net
statement, there is always a C# counterpart of it. But some C# statements
don't have any vb.net counterpart.
m*******n
发帖数: 154
2
vb is easier than c#

【在 c*o 的大作中提到】
: Can anyone tell me what vb.net can do but C# can't?
: I read a lot of books. It seems to me that as long as there is a vb.net
: statement, there is always a C# counterpart of it. But some C# statements
: don't have any vb.net counterpart.

s**d
发帖数: 7
3
static method varible
example:
Public Sub myMethod()
Static Iterations as Integer
Iterations +=1
End Sub
This feature is not available in VC#
s**d
发帖数: 7
4
one more: Optional parameter in vb.net
Public Sub Cook(ByVal time as Integer,Optional ByVal temp as Integer=350)
End Sub

【在 s**d 的大作中提到】
: static method varible
: example:
: Public Sub myMethod()
: Static Iterations as Integer
: Iterations +=1
: End Sub
: This feature is not available in VC#

s*i
发帖数: 5025
5
Similar c# counterpart:
public void Cook(params int[] list)
{
}

statements

【在 s**d 的大作中提到】
: one more: Optional parameter in vb.net
: Public Sub Cook(ByVal time as Integer,Optional ByVal temp as Integer=350)
: End Sub

k****i
发帖数: 1072
6
oh,yes,this can be done by function overloading in c#【 在 seed (seed) 的大作
中提到: 】
statements
1 (共1页)
进入DotNet版参与讨论
相关主题
问一个关于copy constructor的菜鸟问题。。。。。 (转载)VB.net 的小问题
我发现我竟然学会了12种tree traversal的办法高手帮忙看看.net下面编译常规c++程序的问题
请问怎样写没有parent pointer的BST iterator?Has any of you tried SmartCode?
L家的高频题merge k sorted arrays giving iterators求讨论!String::Format doesn't take integer type params
how to use old DLL in VB .NET?A question seeking answers
[solved] Re: use old DLL in VB .NET?问个基础问题
vb.net problemC# is light-years ahead of Java now (转载)
vb.net如何显示缩小后窗口消失的程序(已解决)Why java.lang.Iterable depends on java.util.Iterator
相关话题的讨论汇总
话题: c#话题: sub话题: statements话题: integer