...
首页> 外文期刊>MSDN Magazine >A Visual Studio Add-In That Converts C# Code To Visual Basic
【24h】

A Visual Studio Add-In That Converts C# Code To Visual Basic

机译:将C#代码转换为Visual Basic的Visual Studio加载项

获取原文
获取原文并翻译 | 示例
           

摘要

The "Paste as..." functionality in applications like Microsoft~® Word has become indispensable for me. I often copy something from the Web and want to paste it into a document without all of the HTML formatting. Paste as is the tool for the job. While perusing the Web one day, looking for a code example, it occurred to me that Paste as would also be beneficial for Visual Studio~®. However, instead of simply converting the text formatting, it could convert the language of the code example. It's common to be coding in C# and find a Visual Basic~® example that does exactly what you want, or vice versa. Using such code requires copying the sample to the clipboard, going to one of the many great code conversion Web sites, pasting in the code, converting it, copying the new code, and finally pasting the converted code into Visual Studio.
机译:对我来说,Microsoft〜®Word等应用程序中的“粘贴为...”功能已变得不可或缺。我经常从Web复制某些内容,并希望将其粘贴到没有所有HTML格式的文档中。粘贴为作业的工具。有一天,在仔细阅读Web并查找代码示例时,我发现Paste as也对VisualStudio®有益。但是,与其简单地转换文本格式,不如转换代码示例的语言。通常使用C#进行编码,然后找到一个完全满足您要求的Visual Basic〜®示例,反之亦然。使用这样的代码需要将示例复制到剪贴板,转到许多出色的代码转换网站之一,粘贴代码,对其进行转换,复制新代码,最后将转换后的代码粘贴到Visual Studio中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号