Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Visual.basic モジュールを C# プロジェクトに含めると、次のようになります。
ParamVal = Strings.Space(1024);
using Microsoft.VisualBasic;しかし、それなしで、つまり、アクセスできずにそれを書くにはどうすればよいStringsですか?
using Microsoft.VisualBasic;
Strings
(オンラインコンバーターでは実行できません...)
試す:
ParamVal = new String(' ', 1024);
String型には、文字とその繰り返し回数を指定できるコンストラクタがあります。