VB vs C#vs C ++ vs J# [英] VB vs C# vs C++ vs J#

查看:101
本文介绍了VB vs C#vs C ++ vs J#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是想知道这个...


使用一种语言比另一种语言有什么好处吗?我目前

使用VB,但请注意,互联网和本论坛上的大多数代码样本都是通常在C#中的
(我认为)。


-

Chuck Foster

程序员分析师

Eclipsys Corporation - 圣文森特健康系统

Just wondering this...

Are there any advantages of using one language over another? I currently
use VB, but notice that most code samples on the internet and this forum are
normally in C# (I think).

--
Chuck Foster
Programmer Analyst
Eclipsys Corporation - St. Vincent Health System

推荐答案

让火焰战开始吧。


如果你认识VB,不妨坚持使用VB,这样你就可以利用(某些)

的知识。


i喜欢C#,因为我认为它非常优雅。


除了但是,当涉及到产生CLR代码的

时,没有太多差异。

let the flame war begin.

if you know VB, might as well stick with VB so you can leverage (some)
of the knowledge.

i like C#, as I think it''s very elegant.

other than style though, not too many differences, when it comes to the
resulting CLR code.


" chuckdfoster" < CH ********** @ hotmail.com>在消息中写道

新闻:Oa **************** @ TK2MSFTNGP09.phx.gbl ...
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:Oa****************@TK2MSFTNGP09.phx.gbl...
使用一种语言比另一种语言有什么好处吗?


几乎没有...

我目前使用的是VB,但请注意,互联网上的大多数代码示例和这个论坛通常都在C#中(我认为)。
Are there any advantages of using one language over another?
Almost none...
I currently use VB, but notice that most code samples on the internet and
this forum are normally in C# (I think).




C#有一个重要特性,VB.NET不支持,即

非托管代码,例如我不需要使用非托管代码。



C# has one important feature which is not supported in VB.NET, namely
unmanaged code e.g. pointers etc.

I''ve never needed to use unmanaged code.


Microsoft使用C#。该框架主要使用C#编写。主要

部分Vista是用C#编写的(各种WPF组件)。微软

表达式是用C#编写的。


你算一算......

Microsoft uses C#. The framework is written primarily in C#. Major
parts of Vista is written in C# (various WPF components). Microsoft
Expression is written in C#.

You do the math...


这篇关于VB vs C#vs C ++ vs J#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆