我正在查看一些示例C#代码,并注意到一个示例将返回包含在()中.
我一直都这么做:
return myRV;
这样做是否有区别:
return (myRV);
c# syntax
c# ×1
syntax ×1