You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using System;
namespace Game
{
public static class Test
{
public static string name = "fox";
public static void change()
{
Test.name = "not fox"; // error
// name = "not fox"; // right
}
}
public class DNF_Mobile
{
public static void Main() {
Test.name = "im fox2";
Test.change();
System.Console.WriteLine(Test.name);
}
}
}
This is the wrong usage?
不能这样用吗?
The text was updated successfully, but these errors were encountered:
imfox
changed the title
proposal csharp:fun(string x,params int[] a){} to lua:fun(x,...) a={...} end
This is the wrong usage?
Mar 3, 2018
This is the wrong usage?
不能这样用吗?
The text was updated successfully, but these errors were encountered: