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
一个函数这样写没有问题
private int Cal(int a, int b)
{
//int[] temp = new int[] { 1,2,3};
return a + b;// + temp[0];
}
这样写就会报Warning: not support il[IL_0008: ldtoken /_
private int Cal(int a, int b)
{
int[] temp = new int[] { 1,2,3};
return a + b + temp[0];
}
The text was updated successfully, but these errors were encountered:
一个函数这样写没有问题
private int Cal(int a, int b)
{
//int[] temp = new int[] { 1,2,3};
return a + b;// + temp[0];
}
这样写就会报Warning: not support il[IL_0008: ldtoken /_
private int Cal(int a, int b)
{
int[] temp = new int[] { 1,2,3};
return a + b + temp[0];
}
The text was updated successfully, but these errors were encountered: