You can only assing a const variable to a compile time constant, e.g. a string or a number. You could make the n variable static though:
public static int n = GlobalVars.MatDim;public double[,] a = new double[n,n];public double MatDet;
No comments:
Post a Comment