Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.Reflection.Assembly.GetExecutingAssembly().DefinedTypes(n).BaseType.FullName
- int N1, N2, N3;
- // N1, N2, & N3 are all zero
- for (int i = 1; i < 4; i++){
- Indirect("N" + i.toString) = 100
- }
- // N1, N2, & N3 are now all 100
- public String listVars(){
- Object input[] = {var1, var2, var3, var4, var5}; // list of vars
- String output = ""; // output catcher
- int varCount = input.length; // get the length of the array
- for (int i = 0; i < varCount; i++){ // loop through the array
- output += """ + input[i] + """; // surround with quotes, append to output
- if (i < varCount-1){ // if the item NOT the last...
- output += ","; // append a comma to it
- }
- }
- return output; // return completed output
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement