VB.NET到C#的转换 [英] VB.NET to C# Conversion

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

问题描述

你好
请我在vb.net中有一个代码,我需要将其转换为C#,并尝试了在线转换器,但该代码不起作用
这是vb.net代码

hello
please i am having a code in vb.net that i need to convert it to C# and i tried an online converter but the code doesn''t work
here is the vb.net code

Dim connection As IConnection = New RIMRadioObj
Dim imei As IReadIMEI = New RIMRadioObj


在此先感谢
等待您的答复


Thanks in Advance
Waiting For your reply

推荐答案

很简单:
IConnection connection = new RIMRadioObj();
IReadIMEI imei = new RIMRadioObj();

我不知道您正在使用哪个在线转换器,这一个 [ ^ ]解决了...

I don''t know which online converter you are using, this one[^] worked it out...


OriginalGriff已经解决了您的问题,并为代码转换提供了一个很好的链接.我还将建议您使用 http://converter.telerik.com/ [
OriginalGriff already solved your problem and have given a great link for Code Conversion. I will also suggest you to use http://converter.telerik.com/[^] to convert code from C# to Vb.Net and Vice Versa VB.Net to C# for your your future accomplishment.


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

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