从VB转换为c#.net WPF [英] Convert from VB to c#.net WPF

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

问题描述

  Dim  sCode $,sPWT $,nFirma&,nSaveFirma& 
公共 功能 dvxInit(可选 nFirma&,可选 sCode $,可选 sPWT $)正如 布尔





我正在转换一个VB项目到C#。我不明白这个$和&符号。到目前为止,我理解$是字符串和&是数字,但我不确定。

可选关键字,也不理解。



我尝试过:

解决方案

,sPWT


,nFirma&,nSaveFirma&
公共 功能 dvxInit(可选 nFirma&,可选 sCode


可选 sPWT

Dim sCode$, sPWT$, nFirma&, nSaveFirma&
           Public Function dvxInit(Optional nFirma&, Optional sCode$, Optional sPWT$) As Boolean



I am in the process of converting a VB Project to C#.I don't understand what are this $ and & symbols. As far I understood $ is for strings and & is for numbers, but I am not sure.
Optional keyword which is also not understood.

What I have tried:

解决方案

, sPWT


, nFirma&, nSaveFirma& Public Function dvxInit(Optional nFirma&, Optional sCode


, Optional sPWT


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

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