C#的关键字作为变量变量、关键字

2023-09-03 03:10:51 作者:七梨少年

在VB.NET,你可以围绕一个变量名与支架和使用关键字作为变量名,是这样的:

 暗淡[返回]的String =
 

有一个C#equivlent做呢?

解决方案

 字符串@string =;
 
matlab学习 变量和关键字

In VB.NET, you can surround a variable name with brackets and use keywords as variable names, like this:

Dim [goto] As String = ""

Is there a C# equivlent to doing this?

解决方案

string @string = "";