VB和C#语法指南 [英] VB and C# syntax Guide

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

问题描述


我多年来一直是VB开发人员,而且我对C#语法的了解很差。出于几个原因,我将开始研究一些关于C#的项目。有没有人知道描述C#和VB语法之间差异的文档?

例如:

VB         

I'm a VB developer for many years and my knowledge on C# syntax is poor. For several reasons, I would to start working on some projects on C#. Does anybody know a document describing the differences between the C# and VB syntax?
For instance:
VB         


选择案例陈述


byref关键字

=运营商

将myVar调暗为myType          


C#


switch-case statement


< methodname>

==运算符

请告诉我。   

推荐答案

您好,

我建议您使用此工具:  http://converter.telerik.com/

I recommand you to use this tool : http://converter.telerik.com/

这是一个VB< ; => C#转换器。

This is a VB <=> C# converter.

复制并粘贴VB代码,你将拥有C#版本。

Copy and paste you VB code and you will have the C# version.


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

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